Function at 0x5024c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0x100b7078]
push 9
call fcn.004afa30
test eax, eax
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
je 0x502539
lea eax, [esp + 0x34]
push eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [edi + 0xf0]
call fcn.004b0c50
test eax, eax
jne 0x502518
lea edx, [esp + 0x34]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x114]
call fcn.004b0c50
test eax, eax
je 0x502539
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [0x100b7078]
push eax
mov eax, dword [edx + 0x880]
push esi
push ecx
call eax
test esi, esi
jne 0x502550
push 0x100782ec
lea ecx, [esp + 0xc0]
call fcn.004f6f60
jmp 0x502560
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.004f6f80
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x18]
push 4
push eax
mov dword [esp + 0x80], edx
call fcn.004c15e0
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea edx, [ebp + 8]
push edx
lea ecx, [edi + 0x14]
call fcn.004fa510
test eax, eax
je 0x502691
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov ecx, dword [ebp + 0x14]
mov edi, eax
mov eax, dword [ebp + 0x18]
push ebx
push eax
push ecx
lea ecx, [esp + 0x80]
add esi, 0x44
call fcn.004f6ee0
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x502662
cmp dword [0x100b7158], 0
je 0x502631
push 0x10078fbc
push esi
lea ecx, [esp + 0x84]
call fcn.004bdd80
push eax
push 0x10085e4c
push 0x1008649c
lea ecx, [esp + 0x68]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcd00
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
mov eax, dword [esp + 0x80]
test eax, eax
je 0x502631
push eax
call fcn.004c17d0
add esp, 4
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
and esi, 0xefffffff
test eax, eax
mov dword [ecx], esi
je 0x503657
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [ebp + 0x24]
mov dword [ecx], 0
mov dword [edx], 0
je 0x503657
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x8c]
call fcn.0050bf30
xor esi, esi
push esi
lea eax, [esp + 0x90]
push eax
push esi
push 0x40
push 0x100782ec
lea ecx, [esp + 0xd0]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, edi
call fcn.004fcad0
test eax, eax
jne 0x502785
cmp dword [0x100b7158], esi
je 0x50271a
push 0x10085dac
push 0x1008649c
lea ecx, [esp + 0x60]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [edx], esi
mov dword [eax], 0xc0000229
mov eax, dword [esp + 0xa4]
cmp eax, esi
je 0x502742
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xa4], esi
mov eax, dword [esp + 0x94]
cmp eax, esi
je 0x50275c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x94], esi
lea ecx, [esp + 0x8c]
call fcn.004f7250
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x503657
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x8c]
call fcn.004f3bc0
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x20], esi
call fcn.0050c0f0
mov ecx, esi
call fcn.0050c2e0
test eax, eax
je 0x502a21
cmp dword [edi + 0x38], 1
jne 0x50307c
lea ecx, [esp + 0x48]
push 4
push ecx
call fcn.004c15e0
lea edx, [esp + 0x54]
push 4
push edx
call fcn.004c15e0
mov esi, dword [esp + 0x20]
xor ebx, ebx
add esp, 0x10
cmp esi, ebx
mov dword [esp + 0x70], esi
je 0x5027f2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea ecx, [esp + 0xbc]
call fcn.0050c3b0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xbc]
push edx
call fcn.0050c320
test eax, eax
je 0x502886
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
lea edx, [esp + 0xbc]
push edx
push esi
lea edx, [esp + 0x5c]
push edx
call eax
mov ecx, dword [esp + 0x54]
push ecx
push esi
lea ecx, [esp + 0x50]
call fcn.004f7f90
cmp esi, ebx
je 0x502849
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x50286d
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x50286d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xbc]
push eax
call fcn.0050c320
test eax, eax
jne 0x502813
mov dword [esp + 0x70], esi
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.004c15e0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x34]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
call fcn.00513dd0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x502f64
mov eax, dword [edi + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x78]
call fcn.004f6ee0
mov edx, dword [ebx + 0x80]
push eax
push esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x2c]
call edx
mov eax, dword [edi + 0xc]
push eax
lea ecx, [esp + 0xbc]
call fcn.0050c110
push 0
lea ecx, [esp + 0x90]
push ecx
push 0
push 0x40
push 0x100782ec
lea ecx, [esp + 0x10c]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov edx, dword [ebp + 8]
push eax
push edx
lea ecx, [esp + 0xf0]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, edi
call fcn.004fcad0
test eax, eax
je 0x502ff5
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x90]
call fcn.0050c0f0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ebx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x1c], eax
call edx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0xd4]
sete bl
test eax, eax
je 0x502992
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd4], 0
test bl, bl
jne 0x503051
lea ecx, [esp + 0xb8]
call fcn.0050c140
mov eax, dword [esp + 0x44]
xor ebx, ebx
cmp eax, ebx
je 0x5029bc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x5029d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], ebx
cmp esi, ebx
je 0x5029dc
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x5029f0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x502a04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x502785
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], ebx
jmp 0x502785
lea eax, [esp + 0x14]
push 4
push eax
call fcn.004c15e0
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x78]
mov ebx, eax
add esi, 0x68
call fcn.004f6ee0
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
test eax, eax
jne 0x502dde
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
je 0x502c7e
cmp dword [edi + 0x38], 1
jne 0x502bc0
lea eax, [esp + 0x20]
push 4
push eax
call fcn.004c15e0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
call fcn.00513dd0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x50308a
mov ebx, dword [edi + 0xc]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov esi, dword [ebx]
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], edx
add esi, 0x80
call fcn.004f6ee0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x5c]
push edx
mov ecx, ebx
call eax
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x28]
call fcn.0050c110
push 0
lea edx, [esp + 0x90]
push edx
push 0
push 0x40
push 0x100782ec
lea ecx, [esp + 0x104]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xf0]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, edi
call fcn.004fcad0
test eax, eax
je 0x503109
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x90]
call fcn.0050c0f0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x10]
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp ebx, eax
mov eax, dword [esp + 0xc8]
sete bl
xor esi, esi
cmp eax, esi
je 0x502b7e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc8], esi
test bl, bl
jne 0x50316e
lea ecx, [esp + 0x24]
call fcn.0050c140
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x502ba3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x502f33
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
jmp 0x502f33
mov eax, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x40]
call fcn.0050c110
push 0
lea ecx, [esp + 0x90]
push ecx
push 0
push 0x40
push 0x100782ec
lea ecx, [esp + 0x114]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov edx, dword [ebp + 8]
push eax
push edx
lea ecx, [esp + 0xf0]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, edi
call fcn.004fcad0
test eax, eax
je 0x50318a
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x90]
call fcn.0050c0f0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x10]
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp ebx, eax
mov eax, dword [esp + 0xd0]
sete bl
xor esi, esi
cmp eax, esi
je 0x502c68
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xd0], esi
test bl, bl
jne 0x5031dd
lea ecx, [esp + 0x3c]
call fcn.0050c140
jmp 0x502f33
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
jne 0x5032eb
lea eax, [esp + 0x28]
push 4
push eax
call fcn.004c15e0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
call fcn.00513dd0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x5033b7
mov ebx, dword [edi + 0xc]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov esi, dword [ebx]
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], edx
add esi, 0x80
call fcn.004f6ee0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
call eax
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0xb8]
call fcn.0050c110
xor esi, esi
push esi
lea edx, [esp + 0x90]
push edx
push esi
push 0x40
push 0x100782ec
lea ecx, [esp + 0x90]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xf0]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, edi
call fcn.004fcad0
test eax, eax
je 0x503436
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x90]
call fcn.0050c0f0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0xc]
call eax
cmp ebx, eax
mov eax, dword [esp + 0xcc]
sete bl
cmp eax, esi
je 0x502d99
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xcc], esi
test bl, bl
jne 0x503499
lea ecx, [esp + 0xb4]
call fcn.0050c140
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x502dc1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x502f33
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], esi
jmp 0x502f33
mov esi, 1
cmp eax, esi
jne 0x5035b5
cmp dword [edi + 0x38], esi
jne 0x50362b
lea eax, [esp + 0x30]
push 4
push eax
call fcn.004c15e0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
push ecx
call fcn.00513dd0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x5034b5
mov ebx, dword [edi + 0xc]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov esi, dword [ebx]
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], edx
add esi, 0x80
call fcn.004f6ee0
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
call eax
mov ecx, dword [edi + 0xc]
push ecx
lea ecx, [esp + 0x38]
call fcn.0050c110
push 0
lea edx, [esp + 0x90]
push edx
push 0
push 0x40
push 0x100782ec
lea ecx, [esp + 0x6c]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xf0]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, edi
call fcn.004fcad0
test eax, eax
je 0x503534
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x90]
call fcn.0050c0f0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x10]
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp ebx, eax
mov eax, dword [esp + 0xc4]
sete bl
xor esi, esi
cmp eax, esi
je 0x502efa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc4], esi
test bl, bl
jne 0x503599
lea ecx, [esp + 0x34]
call fcn.0050c140
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x502f1f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x502f33
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x502f47
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x502785
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
jmp 0x502785
cmp dword [0x100b7158], 0
je 0x502fc1
push 0x10078fbc
push ebx
lea ecx, [esp + 0x84]
call fcn.004bdd80
push eax
push 0x10086468
push 0x1008649c
lea ecx, [esp + 0x68]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcd00
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
lea ecx, [esp + 0x7c]
call fcn.004aabe0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
and ebx, 0xefffffff
mov dword [eax], 0
mov dword [ecx], ebx
lea ecx, [esp + 0x2c]
call fcn.0050ed20
lea ecx, [esp + 0x70]
call fcn.0050ed20
lea ecx, [esp + 0x48]
call fcn.004cbb10
jmp 0x503639
cmp dword [0x100b7158], 0
je 0x503028
push 0x10085dac
push 0x1008649c
lea ecx, [esp + 0x60]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [edx], 0
mov dword [eax], 0xc0000229
lea ecx, [esp + 0xb8]
call fcn.0050c140
lea ecx, [esp + 0x44]
call fcn.0050ed20
jmp 0x502fd5
mov edx, dword [esi]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 0x4c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x48]
call fcn.004f7ee0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [eax], 0
mov dword [ecx], 0
jmp 0x50303a
mov edx, dword [ebp + 0x20]
mov dword [edx], 1
jmp 0x503639
cmp dword [0x100b7158], 0
je 0x5030e7
push 0x10078fbc
push esi
lea ecx, [esp + 0x84]
call fcn.004bdd80
push eax
push 0x10086468
push 0x1008649c
lea ecx, [esp + 0x68]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcd00
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
lea ecx, [esp + 0x7c]
call fcn.004aabe0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x20]
call fcn.0050ed20
jmp 0x503630
cmp dword [0x100b7158], 0
je 0x50313c
push 0x10085dac
push 0x1008649c
lea ecx, [esp + 0x60]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [edx], 0
mov dword [eax], 0xc0000229
lea ecx, [esp + 0x24]
call fcn.0050c140
lea ecx, [esp + 0x50]
call fcn.0050ed20
lea ecx, [esp + 0x20]
call fcn.0050ed20
jmp 0x503630
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 0x50]
mov edx, dword [edx + 0x4c]
push eax
call edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [eax], esi
mov dword [ecx], esi
jmp 0x50314e
cmp dword [0x100b7158], 0
je 0x5031bd
push 0x10085dac
push 0x1008649c
lea ecx, [esp + 0x60]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [edx], 0
lea ecx, [esp + 0x3c]
mov dword [eax], 0xc0000229
call fcn.0050c140
jmp 0x503630
mov ecx, dword [0x100b7078]
mov eax, dword [ecx + 0x880]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
call eax
cmp eax, esi
je 0x50321f
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [edx], esi
mov dword [ecx], eax
lea ecx, [esp + 0x3c]
call fcn.0050c140
jmp 0x503630
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0xc]
add esi, 0x50
call eax
push eax
lea ecx, [esp + 0x78]
call fcn.004f6ee0
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x5032cb
cmp dword [0x100b7158], 0
je 0x5032a9
push 0x10078fbc
push esi
lea ecx, [esp + 0x84]
call fcn.004bdd80
push eax
push 0x1008643c
push 0x1008649c
lea ecx, [esp + 0x68]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcd00
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
lea ecx, [esp + 0x7c]
call fcn.004aabe0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x3c]
call fcn.0050c140
jmp 0x503630
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [edx], 0
lea ecx, [esp + 0x3c]
mov dword [eax], 0
call fcn.0050c140
jmp 0x503630
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x24]
push eax
call edx
mov edx, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push edx
call eax
mov esi, eax
test esi, esi
je 0x503397
cmp dword [0x100b7158], 0
je 0x503375
push 0x10078fbc
push esi
lea ecx, [esp + 0x84]
call fcn.004bdd80
push eax
push 0x10086410
push 0x1008649c
lea ecx, [esp + 0x68]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcd00
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
lea ecx, [esp + 0x7c]
call fcn.004aabe0
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [ecx], 0
and esi, 0xefffffff
lea ecx, [esp + 0x24]
mov dword [edx], esi
call fcn.0050ed20
jmp 0x503630
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x24]
call fcn.0050ed20
jmp 0x503630
cmp dword [0x100b7158], 0
je 0x503414
push 0x10078fbc
push esi
lea ecx, [esp + 0x84]
call fcn.004bdd80
push eax
push 0x10086468
push 0x1008649c
lea ecx, [esp + 0x68]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcd00
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
lea ecx, [esp + 0x7c]
call fcn.004aabe0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
and esi, 0xefffffff
mov dword [edx], 0
lea ecx, [esp + 0x28]
mov dword [eax], esi
call fcn.0050ed20
jmp 0x503630
cmp dword [0x100b7158], esi
je 0x503468
push 0x10085dac
push 0x1008649c
lea ecx, [esp + 0x60]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [ecx], esi
mov dword [edx], 0xc0000229
lea ecx, [esp + 0xb4]
call fcn.0050c140
lea ecx, [esp + 0x38]
call fcn.0050ed20
lea ecx, [esp + 0x28]
call fcn.0050ed20
jmp 0x503630
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x4c]
push edx
call eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [ecx], esi
mov dword [edx], esi
jmp 0x503476
cmp dword [0x100b7158], 0
je 0x503512
push 0x10078fbc
push esi
lea ecx, [esp + 0x84]
call fcn.004bdd80
push eax
push 0x10086468
push 0x1008649c
lea ecx, [esp + 0x68]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcd00
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
lea ecx, [esp + 0x7c]
call fcn.004aabe0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
and esi, 0xefffffff
mov dword [eax], 0
mov dword [ecx], esi
lea ecx, [esp + 0x30]
call fcn.0050ed20
jmp 0x503630
cmp dword [0x100b7158], 0
je 0x503567
push 0x10085dac
push 0x1008649c
lea ecx, [esp + 0x60]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [edx], 0
mov dword [eax], 0xc0000229
lea ecx, [esp + 0x34]
call fcn.0050c140
lea ecx, [esp + 0x40]
call fcn.0050ed20
lea ecx, [esp + 0x30]
call fcn.0050ed20
jmp 0x503630
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 0x40]
mov edx, dword [edx + 0x4c]
push eax
call edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [eax], esi
mov dword [ecx], esi
jmp 0x503579
cmp dword [0x100b7158], 0
je 0x503612
push 0x10078fbc
push eax
lea ecx, [esp + 0x84]
call fcn.004bdd80
push eax
push 0x10085dd4
push 0x1008649c
lea ecx, [esp + 0x68]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bcd00
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x58]
call fcn.004bba80
lea ecx, [esp + 0x7c]
call fcn.004aabe0
cmp dword [edi + 0x38], esi
jne 0x50362b
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x503630
mov edx, dword [ebp + 0x20]
mov dword [edx], esi
lea ecx, [esp + 0x14]
call fcn.0050ed20
lea ecx, [esp + 0x10]
call fcn.0050ed20
lea ecx, [esp + 0x8c]
call fcn.004f8210
lea ecx, [esp + 0x18]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20