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

Disassembly:
sub esp, 0x398
push ebx
push ebp
mov ebx, ecx
mov eax, dword [ebx + 0x54]
test al, 0x10
push esi
push edi
je 0x490486
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
test edx, edx
mov ebp, dword [esp + 0x490]
mov edi, dword [esp + 0x48c]
je 0x48f63f
test ah, 2
jne 0x48f634
mov ecx, ebx
call fcn.00448680
test eax, eax
je 0x48f5ea
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 4]
call fcn.00482130
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
push 0
lea eax, [esp + 0x94]
push eax
push edx
mov ecx, ebx
call fcn.00486420
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
push 0
push 1
push ebp
push edi
sub esp, 0xdc
lea edx, [esp + 0x17c]
mov ecx, esp
push edx
call fcn.00487ae0
mov ecx, esi
call fcn.0048cab0
test eax, eax
je 0x490486
jmp 0x48f63f
mov dword [esp + 0x494], 1
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x170]
call fcn.00487ae0
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x16c]
push ecx
mov edx, ecx
push edx
lea eax, [ebx + 0x30]
push eax
add esi, 0x2c
call fcn.0043cdb0
add esp, 0xc
test esi, esi
je 0x48f681
push esi
lea ecx, [esp + 0x18c]
call fcn.00461b60
push edi
lea ecx, [esp + 0x268]
push ecx
lea edx, [esp + 0x3b8]
push edx
push ebx
call fcn.0048f270
mov ecx, dword [ebp + 4]
mov dword [esp + 0x49c], eax
mov eax, dword [ebp]
mov dword [esp + 0x28], ecx
add esp, 0x10
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.004486b0
test eax, eax
je 0x48f6db
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x20]
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x170]
push edx
call fcn.004451c0
test al, al
je 0x490486
mov eax, dword [ebx + 0x18]
test eax, eax
mov esi, 0x2000000
je 0x48f91d
cmp dword [eax + 0x78], 9
jne 0x48f91d
mov eax, dword [eax + 0x68]
test eax, eax
je 0x48f820
mov cl, byte [eax + 0x51e]
test cl, cl
je 0x48f820
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x48f720
mov edx, dword [eax]
jmp 0x48f722
mov edx, eax
test edx, edx
je 0x48f736
test ecx, ecx
je 0x48f72c
mov eax, dword [eax]
test byte [eax + 0x38], 1
je 0x490486
mov eax, dword [ebx + 8]
test dword [eax + 0x54], esi
mov ecx, dword [eax + 0x78]
je 0x48f743
mov ecx, dword [ecx]
test ecx, ecx
je 0x48f763
test dword [eax + 0x54], esi
je 0x48f753
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
jmp 0x48f756
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x38]
shr eax, 1
test al, 1
je 0x490486
mov ecx, ebx
and ecx, 0xfffff000
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
mov eax, dword [eax + 0x108]
test dword [eax + 0x54], esi
mov ecx, dword [eax + 0x78]
je 0x48f783
mov ecx, dword [ecx]
test ecx, ecx
je 0x48f7a3
test dword [eax + 0x54], esi
je 0x48f793
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
jmp 0x48f796
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x38]
shr eax, 1
test al, 1
je 0x490486
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x128]
test ah, 4
je 0x48f811
test ah, 0x10
je 0x48f811
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x24], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.00482f90
mov ecx, eax
call fcn.00461f20
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x20]
push 0
push edx
push eax
call fcn.0042acb0
test eax, eax
je 0x490486
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov ecx, ebx
call fcn.00482230
test al, al
jne 0x490486
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x128]
test ch, 0x10
je 0x48f89d
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x48f845
mov cl, byte [eax + 0x51e]
test cl, cl
jne 0x48f89d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.00482f90
mov ecx, eax
call fcn.00461f20
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + 0x18]
mov edx, dword [esp + 0x20]
push 0
push eax
push edx
call fcn.0042acb0
test eax, eax
je 0x48f91d
mov eax, dword [esp + 0x3ac]
mov dword [eax], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x48f8b3
mov eax, dword [eax + 8]
test eax, eax
je 0x48f8b3
mov eax, dword [eax + 0x3e0]
jmp 0x48f8b5
xor eax, eax
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x174]
push edx
call fcn.0043e260
add esp, 0xc
test al, al
je 0x48f91d
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0043c680
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0
mov ecx, ebx
call fcn.004865d0
push eax
call fcn.0043c220
add esp, 8
test eax, eax
je 0x48f91d
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x18]
call fcn.004249d0
test eax, eax
je 0x490486
test dword [ebx + 0x54], esi
mov eax, dword [ebx + 0x78]
je 0x48f927
mov eax, dword [eax]
test eax, eax
jne 0x48fc4e
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x48f94b
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x48f94b
mov dl, byte [ecx + 0x51e]
test dl, dl
jne 0x48fc4e
mov ecx, dword [esp + 0x498]
test ecx, ecx
je 0x48fa90
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x48fa90
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x48f976
cmp eax, 0x61
jne 0x48fa90
mov esi, dword [ebx + 0x10]
test esi, esi
mov edi, dword [esp + 0x48c]
je 0x48f9f9
mov ecx, dword [esi + 4]
cmp word [ecx + 0x56], 0
je 0x48f9b8
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push edi
sub esp, 0xdc
lea eax, [esp + 0x258]
mov ecx, esp
push eax
call fcn.00487ae0
mov ecx, esi
call fcn.0048cab0
mov esi, eax
jmp 0x48f9f5
mov ecx, dword [esp + 0x498]
mov edx, dword [esp + 0x494]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push edi
sub esp, 0xdc
lea edx, [esp + 0x258]
mov ecx, esp
push edx
call fcn.00487ae0
mov eax, dword [esp + 0x498]
push eax
mov ecx, esi
call fcn.0048f5a0
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48f984
mov ecx, dword [esp + 0x3ac]
mov eax, dword [ecx]
test eax, eax
je 0x48fa1a
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x78]
cmp eax, 6
je 0x48fa1a
cmp eax, 0x61
jne 0x490486
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x94]
call fcn.00487ae0
mov ecx, dword [ebp]
mov eax, dword [esp + 0x494]
mov edx, dword [ebp + 4]
push 0
push 0
push 0
push eax
push 0
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], edx
push edi
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
mov dword [esp + 0x40], 0
call fcn.0048dd40
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x490486
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov ecx, ebx
call fcn.004826b0
test eax, eax
je 0x48ff9e
lea edx, [esp + 0x3b0]
push edx
lea ecx, [esp + 0x94]
mov ebp, ebx
xor edi, edi
call fcn.00487ae0
mov eax, dword [esp + 0x490]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x68]
mov esi, dword [ecx + 0xd0]
test esi, esi
je 0x48fbf4
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x1c], 2
mov eax, dword [edx + 0xb4]
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.0047c590
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + 0xb4]
mov ecx, dword [esi + 0xb00]
push edi
push edi
lea edx, [esp + 0x24]
push edx
push ecx
push eax
mov ecx, esi
call fcn.004b4fd0
test eax, eax
je 0x48fbeb
mov edx, dword [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004b2600
test eax, eax
je 0x48fbeb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
je 0x48fbeb
mov eax, dword [eax + 0x54]
test eax, eax
je 0x48fbeb
mov esi, dword [ebx + 8]
test esi, esi
mov ebp, eax
je 0x48fbb8
lea esp, [esp]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x48fb6c
mov eax, dword [eax + 8]
jmp 0x48fb6e
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x48fbb8
mov ecx, esi
call fcn.004486b0
test eax, eax
je 0x48fbb1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov al, byte [ecx + 0x129]
test al, al
je 0x48fbb1
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x210]
add dword [esp + 0x14], ecx
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x214]
add dword [esp + 0x18], ecx
mov esi, dword [esi + 8]
test esi, esi
jne 0x48fb60
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call fcn.004863c0
test al, al
jne 0x48fbe6
lea ecx, [esp + 0x28]
call fcn.0047b0a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov edi, 1
lea ecx, [esp + 0x28]
call fcn.0047b0a0
mov ecx, dword [esp + 0x494]
mov eax, dword [esp + 0x48c]
push 0
push 0
push 0
push ecx
push edi
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
mov dword [esp + 0x44], 0
call fcn.0048dd40
mov eax, dword [esp + 0x20]
test eax, eax
je 0x490486
mov eax, dword [esp + 0x3ac]
mov dword [eax], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x48ff9e
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x48fc6d
cmp eax, 0x61
jne 0x48ff9e
mov eax, dword [ebx + 8]
test dword [eax + 0x54], esi
je 0x48fc7c
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
jmp 0x48fc7f
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x48fc9b
test dword [eax + 0x54], esi
mov eax, dword [eax + 0x78]
je 0x48fc8d
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
shr ecx, 1
test cl, 1
je 0x490486
mov edx, ebx
and edx, 0xfffff000
mov eax, dword [edx]
mov ecx, dword [eax + 0x128]
mov eax, dword [ecx + 0x108]
test dword [eax + 0x54], esi
je 0x48fcbd
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
jmp 0x48fcc0
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x48fcdc
test dword [eax + 0x54], esi
mov eax, dword [eax + 0x78]
je 0x48fcce
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
shr ecx, 1
test cl, 1
je 0x490486
mov ecx, ebx
call fcn.00482230
test al, al
jne 0x490486
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x78]
shr eax, 0x19
and eax, 1
mov dword [esp + 0x1c], 0
je 0x48fd05
mov edx, dword [ecx]
jmp 0x48fd07
mov edx, ecx
test edx, edx
je 0x48fe24
test eax, eax
je 0x48fd15
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x38]
shr edx, 1
test dl, 1
je 0x48fe24
mov esi, dword [ebx + 0x10]
test esi, esi
mov ebp, dword [esp + 0x498]
je 0x48fda3
mov edi, dword [esp + 0x48c]
jmp 0x48fd40
mov eax, dword [esi + 4]
cmp word [eax + 0x56], 0
lea edx, [esp + 0x16c]
lea ecx, [esp + 0x14]
je 0x48fd74
push 0
push 0
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.00487ae0
mov ecx, esi
call fcn.0048cab0
mov esi, eax
jmp 0x48fd9f
mov eax, dword [esp + 0x494]
push ebp
push eax
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.00487ae0
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.0048f5a0
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48fd40
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x48fe06
lea ebx, [ebx]
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0x56]
test ax, ax
je 0x48fdff
push ebp
push 1
lea edx, [esp + 0x1c]
push edx
movzx edi, ax
mov eax, dword [esp + 0x498]
push eax
sub esp, 0xdc
lea edx, [esp + 0x258]
mov ecx, esp
push edx
call fcn.00487ae0
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.0048f5a0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x48fe06
cmp dword [esi + 0x1c], edi
jle 0x48fdf3
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48fdb0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48fe24
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x48fe36
mov edx, dword [eax]
jmp 0x48fe38
mov edx, eax
test edx, edx
je 0x48fe59
test ecx, ecx
je 0x48fe42
mov eax, dword [eax]
test byte [eax + 0x38], 1
je 0x490486
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x78], 0x61
je 0x490486
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x94]
mov edi, ebx
xor esi, esi
call fcn.00487ae0
mov eax, dword [esp + 0x490]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx + 0xd0]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x48ff4c
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x48feae
mov edx, dword [eax]
jmp 0x48feb0
mov edx, eax
test edx, edx
je 0x48ff4c
test ecx, ecx
je 0x48febe
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x48ff4c
mov esi, dword [ebx + 8]
test esi, esi
mov edi, dword [eax + 0x34]
je 0x48ff2b
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x48fedf
mov eax, dword [eax + 8]
jmp 0x48fee1
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x48ff2b
mov ecx, esi
call fcn.004486b0
test eax, eax
je 0x48ff24
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov al, byte [ecx + 0x129]
test al, al
je 0x48ff24
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x210]
add dword [esp + 0x14], ecx
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x214]
add dword [esp + 0x18], ecx
mov esi, dword [esi + 8]
test esi, esi
jne 0x48fed3
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, edi
call fcn.004863c0
test al, al
je 0x490486
mov esi, 1
mov ecx, dword [esp + 0x494]
mov eax, dword [esp + 0x48c]
push 0
push 0
push 0
push ecx
push esi
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.0048dd40
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x490486
mov eax, dword [esp + 0x3ac]
mov dword [eax], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x4903aa
mov eax, dword [esi + 0x78]
mov ebp, 2
cmp eax, ebp
jne 0x4903aa
mov edi, dword [esi + 0x68]
test edi, edi
je 0x490067
mov al, byte [edi + 0x51e]
test al, al
je 0x490067
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x48ffe4
mov edx, dword [eax]
jmp 0x48ffe6
mov edx, eax
test edx, edx
je 0x48fffa
test ecx, ecx
je 0x48fff0
mov eax, dword [eax]
test byte [eax + 0x38], 1
je 0x490486
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x54]
mov edx, 0x2000000
test edx, ecx
mov ecx, dword [eax + 0x78]
je 0x49000e
mov ecx, dword [ecx]
test ecx, ecx
je 0x49002a
test dword [eax + 0x54], edx
mov eax, dword [eax + 0x78]
je 0x49001c
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
shr ecx, 1
test cl, 1
je 0x490486
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
mov eax, dword [ecx + 0x128]
mov eax, dword [eax + 0x108]
test dword [eax + 0x54], edx
mov ecx, dword [eax + 0x78]
je 0x490049
mov ecx, dword [ecx]
test ecx, ecx
je 0x49006c
test dword [eax + 0x54], edx
mov eax, dword [eax + 0x78]
je 0x490057
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
shr ecx, 1
test cl, 1
je 0x490486
jmp 0x49006c
mov edx, 0x2000000
mov al, byte [edi + 0x51e]
test al, al
je 0x490168
test dword [ebx + 0x54], edx
je 0x490086
mov edx, dword [ebx + 0x78]
mov eax, dword [edx]
jmp 0x490089
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x490486
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x490486
mov esi, dword [eax + 0x34]
lea edi, [esi + 0x7c]
mov eax, edi
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [esp + 0x94]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], 0
call fcn.00487ae0
lea edx, [esp + 0x90]
push edx
mov eax, edx
push eax
lea ecx, [esi + 0x30]
push ecx
call fcn.0043cdb0
add esp, 0xc
push edi
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.0048acf0
mov ecx, esi
call fcn.00484600
push 0
push 1
mov ecx, esi
call fcn.004860e0
mov ecx, dword [esp + 0x48c]
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x188]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0048dd40
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49014c
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [edi], ebp
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp 0x4903aa
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4903aa
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edx
call fcn.00401580
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x70]
push ecx
push 0
push edx
lea ecx, [esp + 0x48]
call fcn.00491160
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x7e], 0x22
jne 0x4901a6
add dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov al, byte [esi + ebp]
inc ebp
test al, al
mov byte [esp + 0x13], al
je 0x4903aa
mov edi, edi
lea eax, [esi + ebp]
xor ecx, ecx
add ebp, 2
mov dword [esp + 0x40], ebp
mov ch, byte [eax + 1]
xor edx, edx
mov cl, byte [eax]
lea eax, [esi + ebp]
add ebp, 2
mov dword [esp + 0x40], ebp
mov dh, byte [eax + 1]
mov edi, ecx
lea ecx, [esp + 0x3c]
mov dl, byte [eax]
lea eax, [esp + 0x248]
push eax
add dx, word [ebx + 0x1c]
mov esi, edx
call fcn.004928e0
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 0x7e], 0x22
jne 0x490214
push 1
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x44]
call fcn.00492a30
mov al, byte [esp + 0x13]
xor ebp, ebp
test al, 0x10
je 0x49025b
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x490233
call fcn.00494e90
cmp eax, 8
jl 0x49025b
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call fcn.004476b0
lea ecx, [esp + 0x28]
call fcn.00447640
test byte [esp + 0x13], 0x20
je 0x490280
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x490277
call fcn.00494e90
cmp eax, 8
jl 0x490280
inc dword [esp + 0x40]
test byte [esp + 0x13], 8
je 0x490382
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00491c60
test eax, eax
mov dword [esp + 0x20], eax
je 0x490382
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
mov edx, dword [ecx + 0x128]
mov eax, dword [edx + 0x1c]
push eax
call fcn.0046cea0
mov ebp, eax
mov eax, dword [ebx + 0x2c]
add esp, 4
push eax
mov ecx, ebp
call fcn.0044c180
mov ecx, dword [esp + 0x20]
movzx edx, si
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
lea edi, [ebp + 0x30]
mov ecx, 7
lea esi, [esp + 0x248]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7c]
call fcn.00461840
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
call fcn.00489f70
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x78], 9
jne 0x490319
lea edx, [ebx + 0x20]
push edx
lea ecx, [ebp + 0x20]
call fcn.0043ae00
mov ecx, ebp
call fcn.0048a9b0
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x94]
call fcn.00487ae0
lea ecx, [esp + 0x90]
push ecx
mov edx, ecx
push edx
lea eax, [ebp + 0x30]
push eax
call fcn.0043cdb0
add esp, 0xc
lea eax, [ebp + 0x7c]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebp
call fcn.0048acf0
mov eax, dword [esp + 0x48c]
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebp
call fcn.0048c250
test eax, eax
mov ecx, ebp
push 1
jne 0x49039c
mov edx, dword [ebp]
call dword [edx]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov al, byte [esi + ebp]
inc ebp
test al, al
mov byte [esp + 0x13], al
jne 0x4901c0
jmp 0x4903aa
mov eax, dword [esp + 0x3b0]
mov dword [eax], ebx
mov edx, dword [ebp]
call dword [edx]
mov esi, dword [ebx + 0x10]
test esi, esi
mov edi, dword [esp + 0x48c]
je 0x490423
mov ebp, dword [esp + 0x494]
nop
mov eax, dword [esi + 4]
cmp word [eax + 0x56], 0
lea edx, [esp + 0x16c]
lea ecx, [esp + 0x14]
je 0x4903f4
push 0
push 0
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.00487ae0
mov ecx, esi
call fcn.0048cab0
mov esi, eax
jmp 0x49041f
mov eax, dword [esp + 0x498]
push eax
push ebp
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.00487ae0
mov eax, dword [esp + 0x498]
push eax
mov ecx, esi
call fcn.0048f5a0
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4903c0
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x490486
lea ebx, [ebx]
mov ecx, dword [ebx + 4]
mov ax, word [ecx + 0x56]
test ax, ax
je 0x49047f
mov edx, dword [esp + 0x498]
push edx
push 1
movzx esi, ax
lea eax, [esp + 0x1c]
push eax
push edi
sub esp, 0xdc
lea edx, [esp + 0x258]
mov ecx, esp
push edx
call fcn.00487ae0
mov eax, dword [esp + 0x498]
push eax
mov ecx, ebx
call fcn.0048f5a0
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x490486
cmp dword [ebx + 0x1c], esi
jle 0x490473
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x490430
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0