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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov esi, ecx
push 4
push eax
mov dword [esp + 0x30], esi
call fcn.004c15e0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebp + 8]
push edx
lea ecx, [esi + 0x14]
call fcn.004fa510
test eax, eax
je 0x50446b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x2c]
push edx
call eax
lea ecx, [esp + 0x2c]
call fcn.004f6fc0
test eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
je 0x5043fc
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [esp + 0x1c]
push edx
call eax
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.004c15e0
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
add esp, 8
lea edx, [esp + 0x18]
push edx
push 8
push 0x100782ec
lea ecx, [esp + 0xe4]
mov edi, eax
add esi, 0x10
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [esi]
mov ecx, edi
call eax
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x504185
cmp dword [0x100b7158], edi
je 0x504113
push 0x10078fbc
push esi
lea ecx, [esp + 0x48]
call fcn.004bdd80
push eax
push 0x10085b2c
push 0x100865ec
lea ecx, [esp + 0x6c]
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 + 0x5c]
call fcn.004bba80
lea ecx, [esp + 0x40]
call fcn.004aabe0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
and esi, 0xefffffff
mov dword [ecx], edi
mov dword [edx], esi
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x504137
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x50414b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x50415f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x2c]
call fcn.004f7250
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x505315
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 0xc
lea eax, [esp + 0x20]
push 4
push eax
call fcn.004c15e0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
add esp, 8
lea eax, [esp + 0x20]
push eax
call edx
mov esi, eax
cmp esi, edi
je 0x504234
cmp dword [0x100b7158], edi
je 0x504207
push 0x10078fbc
push esi
lea ecx, [esp + 0x48]
call fcn.004bdd80
push eax
push 0x10086270
push 0x100865ec
lea ecx, [esp + 0x6c]
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 + 0x5c]
call fcn.004bba80
lea ecx, [esp + 0x40]
call fcn.004aabe0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov eax, dword [esp + 0x20]
and esi, 0xefffffff
cmp eax, edi
mov dword [ecx], esi
je 0x504123
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x20], edi
jmp 0x504123
lea ecx, [esp + 0xf8]
call fcn.004f7130
lea ecx, [esp + 0x104]
call fcn.004f7130
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0xf8]
push edx
call eax
mov esi, eax
cmp esi, edi
jne 0x5042ca
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ecx], edi
lea ecx, [esp + 0x104]
mov dword [edx], 0xc0000121
call fcn.004f7250
lea ecx, [esp + 0xf8]
call fcn.004f7250
lea ecx, [esp + 0x20]
call fcn.0050ed20
lea ecx, [esp + 0x18]
call fcn.0050ed20
lea ecx, [esp + 0x1c]
call fcn.0050ed20
lea ecx, [esp + 0x14]
call fcn.0050ed20
lea ecx, [esp + 0x2c]
call fcn.004f7250
lea ecx, [esp + 0x10]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, 1
jne 0x50433c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push esi
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], edi
lea ecx, [esp + 0x104]
call fcn.004f7250
lea ecx, [esp + 0xf8]
call fcn.004f7250
lea ecx, [esp + 0x20]
call fcn.0050ed20
lea ecx, [esp + 0x18]
call fcn.0050ed20
lea ecx, [esp + 0x1c]
call fcn.0050ed20
lea ecx, [esp + 0x14]
call fcn.0050ed20
lea ecx, [esp + 0x2c]
call fcn.004f7250
lea ecx, [esp + 0x10]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x100b7158], edi
je 0x504395
push 0x10078fbc
push esi
lea ecx, [esp + 0x48]
call fcn.004bdd80
push eax
push 0x100865c0
push 0x100865ec
lea ecx, [esp + 0x6c]
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 + 0x5c]
call fcn.004bba80
lea ecx, [esp + 0x40]
call fcn.004aabe0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edx], edi
and esi, 0xefffffff
lea ecx, [esp + 0x104]
mov dword [eax], esi
call fcn.004f7250
lea ecx, [esp + 0xf8]
call fcn.004f7250
lea ecx, [esp + 0x20]
call fcn.0050ed20
lea ecx, [esp + 0x18]
call fcn.0050ed20
lea ecx, [esp + 0x1c]
call fcn.0050ed20
lea ecx, [esp + 0x14]
call fcn.0050ed20
lea ecx, [esp + 0x2c]
call fcn.004f7250
lea ecx, [esp + 0x10]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edx + 0x34]
call eax
test eax, eax
je 0x504416
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
xor edi, edi
mov dword [ecx], edi
mov dword [edx], edi
jmp 0x50415f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
xor edi, edi
cmp eax, edi
je 0x50443b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
and eax, 0xefffffff
mov dword [ecx], edi
mov dword [edx], eax
jmp 0x50415f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], edi
lea ecx, [esp + 0x2c]
call fcn.004f7250
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x505315
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 0xc
lea ecx, [esp + 0x84]
call fcn.0050bf30
xor edi, edi
push edi
lea ecx, [esp + 0x88]
push ecx
push edi
push 0x40
push 0x100782ec
lea ecx, [esp + 0xec]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
mov ebx, dword [ebp + 8]
push eax
push ebx
lea ecx, [esp + 0x74]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, esi
call fcn.004fcad0
test eax, eax
jne 0x50455b
cmp dword [0x100b7158], edi
je 0x5044f4
push 0x10085dac
push 0x100865ec
lea ecx, [esp + 0x64]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x5c]
call fcn.004bba80
cmp dword [esi + 0x38], 1
jne 0x504541
push ebx
call fcn.0050c450
add esp, 4
test eax, eax
je 0x504522
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edx], edi
lea ecx, [esp + 0x84]
mov dword [eax], edi
call fcn.004f8210
jmp 0x504168
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x84]
call fcn.004f8210
jmp 0x50444e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
lea ecx, [esp + 0x84]
call fcn.004f8210
jmp 0x50444e
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x88]
call fcn.0050c0f0
lea ecx, [esp + 0x84]
call fcn.004f3bc0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x28]
call eax
test eax, eax
jne 0x504d28
jmp 0x504595
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x504d4e
cmp dword [esi + 0x38], 1
jne 0x5052ee
mov ecx, dword [esp + 0x20]
call fcn.0050c2e0
test eax, eax
je 0x50489f
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004fec40
test eax, eax
jne 0x504e28
lea edx, [esp + 0x38]
push 4
push edx
call fcn.004c15e0
lea eax, [esp + 0x44]
push 4
push eax
call fcn.004c15e0
mov ebx, dword [esp + 0x1c]
add esp, 0x10
cmp ebx, edi
mov dword [esp + 0x34], ebx
je 0x504605
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
lea ecx, [esp + 0xb4]
call fcn.0050c3b0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xb4]
push eax
call fcn.0050c320
test eax, eax
je 0x50477e
lea ebx, [ebx]
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x13c]
push edx
call fcn.004e5ab0
mov ecx, dword [0x100b7078]
push edi
push 0x40
mov dword [esp + 0x3c], edi
mov esi, dword [ecx + 0x718]
push eax
push edi
lea ecx, [esp + 0x150]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
push 1
lea edx, [esp + 0x3c]
push edx
call esi
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x34]
add esi, 1
call fcn.004c8af0
cmp esi, edi
je 0x504e3b
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.004c15e0
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
add esp, 8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb8]
push ecx
mov ecx, ebx
call edx
test eax, eax
je 0x504735
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
lea eax, [esp + 0xb4]
push eax
push ebx
lea eax, [esp + 0xd0]
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x5046f6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
mov eax, dword [esi]
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x50470c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc8]
cmp ecx, edi
je 0x50472a
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc8], edi
push eax
push ebx
lea ecx, [esp + 0x40]
call fcn.004f7f90
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
mov dword [esp + 0x34], ebx
je 0x504765
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x504765
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xb4]
push eax
call fcn.0050c320
test eax, eax
jne 0x504630
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov esi, dword [esp + 0x28]
push 1
mov ecx, ebx
call eax
mov ecx, dword [esi + 0xc]
push ecx
lea ecx, [esp + 0x84]
call fcn.0050c110
push edi
lea edx, [esp + 0x88]
push edx
push edi
push 0x40
push 0x100782ec
lea ecx, [esp + 0x144]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x158]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, esi
call fcn.004fcad0
test eax, eax
je 0x504ed1
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x88]
call fcn.0050c0f0
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0xc]
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x504f45
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x504832
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x54]
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x50485a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x50485a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x80]
call fcn.0050c140
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x504882
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x504d05
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], edi
jmp 0x504d05
lea eax, [esp + 0x14]
push 4
push eax
call fcn.004c15e0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x5c]
add esp, 8
lea eax, [esp + 0x14]
push eax
call edx
mov ebx, eax
cmp ebx, edi
jne 0x504f6f
lea ecx, [esp + 0x78]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.004f7130
lea eax, [esp + 0x18]
push 4
push eax
call fcn.004c15e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x80]
push eax
call edx
mov ebx, eax
cmp ebx, edi
jne 0x5049a4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
test eax, eax
je 0x504fe6
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
jne 0x504945
lea eax, [esp + 0x78]
mov ecx, eax
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.004f8540
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x504959
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x78]
call fcn.004f7250
lea ecx, [esp + 0x78]
call fcn.004f7130
lea ecx, [esp + 0x18]
push 4
push ecx
call fcn.004c15e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x80]
push eax
call edx
mov ebx, eax
cmp ebx, edi
je 0x504912
cmp ebx, 1
jne 0x505268
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x5049c1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x78]
call fcn.004f7250
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x5c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.004f8940
test eax, eax
jne 0x504ab2
mov ebx, dword [esp + 0x5c]
cmp ebx, edi
je 0x504ab2
jmp 0x504a00
lea ecx, [esp + 0xcc]
call fcn.004f7130
mov esi, dword [ebx + 8]
push esi
lea ecx, [esp + 0xd0]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
call fcn.004f7230
add esi, 8
push esi
lea ecx, [esp + 0xb0]
call fcn.004e51f0
mov ebx, dword [ebx + 4]
lea ecx, [esp + 0xbc]
call fcn.004f7130
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x48]
call fcn.004f8070
lea ecx, [esp + 0xbc]
mov esi, eax
call fcn.004f7250
cmp esi, edi
je 0x50505f
mov eax, dword [esp + 0xac]
cmp eax, edi
je 0x504a9a
push eax
call fcn.004c17d0
add esp, 4
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
lea ecx, [esp + 0xcc]
call fcn.004f7250
cmp ebx, edi
jne 0x504a00
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.004c15e0
lea edx, [esp + 0x38]
push 4
push edx
call fcn.004c15e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
add esp, 0x10
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xdc]
push eax
call edx
mov ecx, eax
call fcn.004f6ec0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov ebx, dword [esi + 0xc]
lea edx, [esp + 0xc4]
push edx
call eax
mov eax, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x84]
lea ecx, [esp + 0xf0]
push ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0xc4]
cmp eax, edi
je 0x504b3b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc4], edi
lea ecx, [esp + 0xd8]
call fcn.004f7250
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x50]
push edx
call eax
mov ecx, dword [eax]
push ebx
push ecx
lea ecx, [esp + 0x34]
call fcn.004f7f90
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x504b7c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x50], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 1
call eax
mov ecx, dword [esi + 0xc]
push ecx
lea ecx, [esp + 0x78]
call fcn.0050c110
push edi
lea edx, [esp + 0x88]
push edx
push edi
push 0x40
push 0x100782ec
lea ecx, [esp + 0xf4]
call fcn.004f6f60
mov ecx, eax
call fcn.004f6ee0
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x158]
call fcn.004f6f10
mov ecx, eax
call fcn.004f6ee0
push eax
mov ecx, esi
call fcn.004fcad0
test eax, eax
je 0x50511b
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x88]
call fcn.0050c0f0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x58]
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
cmp eax, ebx
je 0x505205
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x504c25
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x58]
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x504c4d
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x504c4d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x74]
call fcn.0050c140
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x504c6a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x504c7e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x504c92
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x5c]
call fcn.004f8890
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x504cb5
mov esi, dword [eax + 4]
push eax
call fcn.004a8630
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x504ca3
lea ecx, [esp + 0x40]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
call fcn.004f8640
lea ecx, [esp + 0x40]
call fcn.004f8640
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x504ce9
mov esi, dword [eax + 4]
push eax
call fcn.004a8630
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x504cd7
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
je 0x504d05
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x84]
call fcn.004f3bc0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
test eax, eax
je 0x504591
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [eax], edi
call fcn.0050c2e0
mov ecx, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffffeb8
add eax, 0xc000017c
mov dword [ecx], eax
jmp 0x5052f7
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xbc]
push eax
call fcn.0050c2f0
cmp word [esp + 0xbc], di
jne 0x504db7
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x50]
push eax
call edx
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push 1
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], edi
lea ecx, [esp + 0x50]
call fcn.0050ed20
lea ecx, [esp + 0x24]
call fcn.0050ed20
jmp 0x5052f7
lea edx, [esp + 0x28]
push 4
push edx
call fcn.004c15e0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
add esp, 8
lea edx, [esp + 0x28]
push edx
push 0x10000
lea edx, [esp + 0xc4]
push edx
call eax
cmp eax, edi
je 0x504e0d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
and eax, 0xefffffff
mov dword [ecx], edi
mov dword [edx], eax
lea ecx, [esp + 0x28]
call fcn.0050ed20
lea ecx, [esp + 0x24]
call fcn.0050ed20
jmp 0x5052f7
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
cmp eax, edi
jne 0x504de7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], edi
jmp 0x504df6
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edx], edi
mov dword [eax], 0xc0000121
jmp 0x5052f7
cmp ebx, edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ecx], edi
mov dword [edx], 0xc0000034
je 0x504e55
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x504e69
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x504e7d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x504e91
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x9c]
cmp eax, edi
je 0x504eab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x9c], edi
mov eax, dword [esp + 0x8c]
cmp eax, edi
je 0x504ec5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x8c], edi
lea ecx, [esp + 0x84]
jmp 0x504163
cmp dword [0x100b7158], edi
je 0x504f03
push 0x10085dac
push 0x100865ec
lea ecx, [esp + 0x64]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0x5c]
call fcn.004bba80
cmp dword [esi + 0x38], 1
jne 0x504f3a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x80]
call fcn.0050c140
lea ecx, [esp + 0x34]
call fcn.0050ed20
lea ecx, [esp + 0x38]
call fcn.004cbb10
jmp 0x5052f7
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
jmp 0x504f17
lea ecx, [esp + 0x38]
call fcn.004f7ee0
lea ecx, [esp + 0x54]
call fcn.0050ed20
lea ecx, [esp + 0x80]
call fcn.0050c140
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], edi
jmp 0x504f23
cmp dword [0x100b7158], edi
je 0x504fc8
push 0x10078fbc
push ebx
lea ecx, [esp + 0x48]
call fcn.004bdd80
push eax
push 0x10086598
push 0x100865ec
lea ecx, [esp + 0x6c]
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 + 0x5c]
call fcn.004bba80
lea ecx, [esp + 0x40]
call fcn.004aabe0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
and ebx, 0xefffffff
mov dword [edx], edi
lea ecx, [esp + 0x14]
mov dword [eax], ebx
call fcn.0050ed20
jmp 0x5052f7
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov edx, dword [ebp + 0x10]
mov dword [ecx], edi
mov dword [edx], 0xc0000121
je 0x505008
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x78]
call fcn.004f7250
lea ecx, [esp + 0x40]
call fcn.004f8640
lea ecx, [esp + 0x40]
call fcn.004f8640
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x505042
jmp 0x505030
mov esi, dword [eax + 4]
push eax
call fcn.004a8630
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x505030
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x504e7d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], edi
jmp 0x504e7d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov eax, dword [esp + 0xac]
cmp eax, edi
mov dword [ecx], 0xc0000121
je 0x505081
push eax
call fcn.004c17d0
add esp, 4
lea ecx, [esp + 0xcc]
call fcn.004f7250
lea ecx, [esp + 0x5c]
call fcn.004f8890
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x5050b2
mov edi, edi
mov esi, dword [eax + 4]
push eax
call fcn.004a8630
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x5050a0
lea ecx, [esp + 0x40]
call fcn.004f8640
lea ecx, [esp + 0x40]
call fcn.004f8640
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x5050e2
lea esp, [esp]
mov esi, dword [eax + 4]
push eax
call fcn.004a8630
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x5050d0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x5050f6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x50510a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x84]
call fcn.004f8210
jmp 0x504168
cmp dword [0x100b7158], edi
je 0x505153
push 0x10085dac
push 0x100865ec
lea ecx, [esp + 0xe8]
call fcn.004bcc40
mov ecx, eax
call fcn.004bbb70
mov ecx, eax
call fcn.004bbb70
lea ecx, [esp + 0xe0]
call fcn.004bba80
cmp dword [esi + 0x38], 1
jne 0x5051bc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], 0xc0000229
lea ecx, [esp + 0x74]
call fcn.0050c140
lea ecx, [esp + 0x24]
call fcn.0050ed20
lea ecx, [esp + 0x2c]
call fcn.004cbb10
lea ecx, [esp + 0x5c]
call fcn.004f8890
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x5051a5
mov esi, dword [eax + 4]
push eax
call fcn.004a8630
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x505193
lea ecx, [esp + 0x40]
call fcn.004f93f0
lea ecx, [esp + 0x14]
call fcn.0050ed20
jmp 0x5052f7
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x74]
mov dword [edx], 1
call fcn.0050c140
lea ecx, [esp + 0x24]
call fcn.0050ed20
lea ecx, [esp + 0x2c]
call fcn.004cbb10
lea ecx, [esp + 0x5c]
call fcn.004f8890
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x5051a5
mov esi, dword [eax + 4]
push eax
call fcn.004a8630
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x5051f1
jmp 0x5051a5
lea ecx, [esp + 0x2c]
call fcn.004f7ee0
lea ecx, [esp + 0x58]
call fcn.0050ed20
lea ecx, [esp + 0x74]
call fcn.0050c140
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ecx], edi
lea ecx, [esp + 0x24]
call fcn.0050ed20
lea ecx, [esp + 0x2c]
call fcn.004cbb10
lea ecx, [esp + 0x5c]
call fcn.004f8890
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x5051a5
mov esi, dword [eax + 4]
push eax
call fcn.004a8630
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x505251
jmp 0x5051a5
cmp dword [0x100b7158], edi
je 0x5052c7
push 0x10078fbc
push ebx
lea ecx, [esp + 0xe8]
call fcn.004bdd80
push eax
push 0x10086570
push 0x100865ec
lea ecx, [esp + 0x6c]
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 + 0x5c]
call fcn.004bba80
lea ecx, [esp + 0xe0]
call fcn.004aabe0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edx], edi
and ebx, 0xefffffff
lea ecx, [esp + 0x18]
mov dword [eax], ebx
call fcn.0050ed20
lea ecx, [esp + 0x78]
call fcn.004f7250
jmp 0x5051a5
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
lea ecx, [esp + 0xc]
call fcn.0050ed20
lea ecx, [esp + 0x84]
call fcn.004f8210
lea ecx, [esp + 0x10]
call fcn.0050ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc