Function at 0x48f230
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 0x490116
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
test edx, edx
mov ebp, dword [esp + 0x490]
mov edi, dword [esp + 0x48c]
je 0x48f2cf
test ah, 2
jne 0x48f2c4
mov ecx, ebx
call fcn.004486d0
test eax, eax
je 0x48f27a
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 4]
call fcn.00481fd0
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.00486070
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.00487790
mov ecx, esi
call fcn.0048c790
test eax, eax
je 0x490116
jmp 0x48f2cf
mov dword [esp + 0x494], 1
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x170]
call fcn.00487790
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.0043ce30
add esp, 0xc
test esi, esi
je 0x48f311
push esi
lea ecx, [esp + 0x18c]
call fcn.00461b90
push edi
lea ecx, [esp + 0x268]
push ecx
lea edx, [esp + 0x3b8]
push edx
push ebx
call fcn.0048ef00
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.00448700
test eax, eax
je 0x48f36b
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x20]
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x170]
push edx
call fcn.00445210
test al, al
je 0x490116
mov eax, dword [ebx + 0x18]
test eax, eax
mov esi, 0x2000000
je 0x48f5ad
cmp dword [eax + 0x78], 9
jne 0x48f5ad
mov eax, dword [eax + 0x68]
test eax, eax
je 0x48f4b0
mov cl, byte [eax + 0x51e]
test cl, cl
je 0x48f4b0
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x48f3b0
mov edx, dword [eax]
jmp 0x48f3b2
mov edx, eax
test edx, edx
je 0x48f3c6
test ecx, ecx
je 0x48f3bc
mov eax, dword [eax]
test byte [eax + 0x38], 1
je 0x490116
mov eax, dword [ebx + 8]
test dword [eax + 0x54], esi
mov ecx, dword [eax + 0x78]
je 0x48f3d3
mov ecx, dword [ecx]
test ecx, ecx
je 0x48f3f3
test dword [eax + 0x54], esi
je 0x48f3e3
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
jmp 0x48f3e6
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x38]
shr eax, 1
test al, 1
je 0x490116
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 0x48f413
mov ecx, dword [ecx]
test ecx, ecx
je 0x48f433
test dword [eax + 0x54], esi
je 0x48f423
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
jmp 0x48f426
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x38]
shr eax, 1
test al, 1
je 0x490116
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x128]
test ah, 4
je 0x48f4a1
test ah, 0x10
je 0x48f4a1
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.00482e30
mov ecx, eax
call fcn.00461f50
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.0042abe0
test eax, eax
je 0x490116
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.004820d0
test al, al
jne 0x490116
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x128]
test ch, 0x10
je 0x48f52d
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x48f4d5
mov cl, byte [eax + 0x51e]
test cl, cl
jne 0x48f52d
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.00482e30
mov ecx, eax
call fcn.00461f50
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.0042abe0
test eax, eax
je 0x48f5ad
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 0x48f543
mov eax, dword [eax + 8]
test eax, eax
je 0x48f543
mov eax, dword [eax + 0x3e0]
jmp 0x48f545
xor eax, eax
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x174]
push edx
call fcn.0043e2e0
add esp, 0xc
test al, al
je 0x48f5ad
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0043c700
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0
mov ecx, ebx
call fcn.00486220
push eax
call fcn.0043c2a0
add esp, 8
test eax, eax
je 0x48f5ad
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x18]
call fcn.00424a50
test eax, eax
je 0x490116
test dword [ebx + 0x54], esi
mov eax, dword [ebx + 0x78]
je 0x48f5b7
mov eax, dword [eax]
test eax, eax
jne 0x48f8de
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x48f5db
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x48f5db
mov dl, byte [ecx + 0x51e]
test dl, dl
jne 0x48f8de
mov ecx, dword [esp + 0x498]
test ecx, ecx
je 0x48f720
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x48f720
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x48f606
cmp eax, 0x61
jne 0x48f720
mov esi, dword [ebx + 0x10]
test esi, esi
mov edi, dword [esp + 0x48c]
je 0x48f689
mov ecx, dword [esi + 4]
cmp word [ecx + 0x56], 0
je 0x48f648
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.00487790
mov ecx, esi
call fcn.0048c790
mov esi, eax
jmp 0x48f685
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.00487790
mov eax, dword [esp + 0x498]
push eax
mov ecx, esi
call fcn.0048f230
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48f614
mov ecx, dword [esp + 0x3ac]
mov eax, dword [ecx]
test eax, eax
je 0x48f6aa
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x78]
cmp eax, 6
je 0x48f6aa
cmp eax, 0x61
jne 0x490116
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x94]
call fcn.00487790
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.0048da20
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x490116
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.00482550
test eax, eax
je 0x48fc2e
lea edx, [esp + 0x3b0]
push edx
lea ecx, [esp + 0x94]
mov ebp, ebx
xor edi, edi
call fcn.00487790
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 0x48f884
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.0047c4b0
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.004b4570
test eax, eax
je 0x48f87b
mov edx, dword [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004b1f90
test eax, eax
je 0x48f87b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
je 0x48f87b
mov eax, dword [eax + 0x54]
test eax, eax
je 0x48f87b
mov esi, dword [ebx + 8]
test esi, esi
mov ebp, eax
je 0x48f848
lea esp, [esp]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x48f7fc
mov eax, dword [eax + 8]
jmp 0x48f7fe
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x48f848
mov ecx, esi
call fcn.00448700
test eax, eax
je 0x48f841
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov al, byte [ecx + 0x129]
test al, al
je 0x48f841
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 0x48f7f0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call fcn.00486010
test al, al
jne 0x48f876
lea ecx, [esp + 0x28]
call fcn.0047b020
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov edi, 1
lea ecx, [esp + 0x28]
call fcn.0047b020
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.0048da20
mov eax, dword [esp + 0x20]
test eax, eax
je 0x490116
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 0x48fc2e
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x48f8fd
cmp eax, 0x61
jne 0x48fc2e
mov eax, dword [ebx + 8]
test dword [eax + 0x54], esi
je 0x48f90c
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
jmp 0x48f90f
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x48f92b
test dword [eax + 0x54], esi
mov eax, dword [eax + 0x78]
je 0x48f91d
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
shr ecx, 1
test cl, 1
je 0x490116
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 0x48f94d
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
jmp 0x48f950
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x48f96c
test dword [eax + 0x54], esi
mov eax, dword [eax + 0x78]
je 0x48f95e
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
shr ecx, 1
test cl, 1
je 0x490116
mov ecx, ebx
call fcn.004820d0
test al, al
jne 0x490116
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x78]
shr eax, 0x19
and eax, 1
mov dword [esp + 0x1c], 0
je 0x48f995
mov edx, dword [ecx]
jmp 0x48f997
mov edx, ecx
test edx, edx
je 0x48fab4
test eax, eax
je 0x48f9a5
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x38]
shr edx, 1
test dl, 1
je 0x48fab4
mov esi, dword [ebx + 0x10]
test esi, esi
mov ebp, dword [esp + 0x498]
je 0x48fa33
mov edi, dword [esp + 0x48c]
jmp 0x48f9d0
mov eax, dword [esi + 4]
cmp word [eax + 0x56], 0
lea edx, [esp + 0x16c]
lea ecx, [esp + 0x14]
je 0x48fa04
push 0
push 0
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.00487790
mov ecx, esi
call fcn.0048c790
mov esi, eax
jmp 0x48fa2f
mov eax, dword [esp + 0x494]
push ebp
push eax
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.00487790
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.0048f230
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48f9d0
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x48fa96
lea ebx, [ebx]
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0x56]
test ax, ax
je 0x48fa8f
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.00487790
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.0048f230
mov esi, dword [esi + 0xc]
test esi, esi
je 0x48fa96
cmp dword [esi + 0x1c], edi
jle 0x48fa83
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48fa40
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48fab4
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 0x48fac6
mov edx, dword [eax]
jmp 0x48fac8
mov edx, eax
test edx, edx
je 0x48fae9
test ecx, ecx
je 0x48fad2
mov eax, dword [eax]
test byte [eax + 0x38], 1
je 0x490116
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x78], 0x61
je 0x490116
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x94]
mov edi, ebx
xor esi, esi
call fcn.00487790
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 0x48fbdc
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x48fb3e
mov edx, dword [eax]
jmp 0x48fb40
mov edx, eax
test edx, edx
je 0x48fbdc
test ecx, ecx
je 0x48fb4e
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x48fbdc
mov esi, dword [ebx + 8]
test esi, esi
mov edi, dword [eax + 0x34]
je 0x48fbbb
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x48fb6f
mov eax, dword [eax + 8]
jmp 0x48fb71
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x48fbbb
mov ecx, esi
call fcn.00448700
test eax, eax
je 0x48fbb4
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov al, byte [ecx + 0x129]
test al, al
je 0x48fbb4
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 0x48fb63
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, edi
call fcn.00486010
test al, al
je 0x490116
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.0048da20
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x490116
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 0x49003a
mov eax, dword [esi + 0x78]
mov ebp, 2
cmp eax, ebp
jne 0x49003a
mov edi, dword [esi + 0x68]
test edi, edi
je 0x48fcf7
mov al, byte [edi + 0x51e]
test al, al
je 0x48fcf7
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x48fc74
mov edx, dword [eax]
jmp 0x48fc76
mov edx, eax
test edx, edx
je 0x48fc8a
test ecx, ecx
je 0x48fc80
mov eax, dword [eax]
test byte [eax + 0x38], 1
je 0x490116
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x54]
mov edx, 0x2000000
test edx, ecx
mov ecx, dword [eax + 0x78]
je 0x48fc9e
mov ecx, dword [ecx]
test ecx, ecx
je 0x48fcba
test dword [eax + 0x54], edx
mov eax, dword [eax + 0x78]
je 0x48fcac
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
shr ecx, 1
test cl, 1
je 0x490116
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 0x48fcd9
mov ecx, dword [ecx]
test ecx, ecx
je 0x48fcfc
test dword [eax + 0x54], edx
mov eax, dword [eax + 0x78]
je 0x48fce7
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
shr ecx, 1
test cl, 1
je 0x490116
jmp 0x48fcfc
mov edx, 0x2000000
mov al, byte [edi + 0x51e]
test al, al
je 0x48fdf8
test dword [ebx + 0x54], edx
je 0x48fd16
mov edx, dword [ebx + 0x78]
mov eax, dword [edx]
jmp 0x48fd19
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x490116
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x490116
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.00487790
lea edx, [esp + 0x90]
push edx
mov eax, edx
push eax
lea ecx, [esi + 0x30]
push ecx
call fcn.0043ce30
add esp, 0xc
push edi
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.0048a9d0
mov ecx, esi
call fcn.00484250
push 0
push 1
mov ecx, esi
call fcn.00485d30
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.0048da20
mov eax, dword [esp + 0x20]
test eax, eax
je 0x48fddc
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 0x49003a
mov eax, dword [esi + 0x70]
test eax, eax
je 0x49003a
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edx
call fcn.00401570
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.00490d80
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x7e], 0x22
jne 0x48fe36
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 0x49003a
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.004924b0
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 0x7e], 0x22
jne 0x48fea4
push 1
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x44]
call fcn.00492600
mov al, byte [esp + 0x13]
xor ebp, ebp
test al, 0x10
je 0x48feeb
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x48fec3
call fcn.00494a20
cmp eax, 8
jl 0x48feeb
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.00447700
lea ecx, [esp + 0x28]
call fcn.00447690
test byte [esp + 0x13], 0x20
je 0x48ff10
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x48ff07
call fcn.00494a20
cmp eax, 8
jl 0x48ff10
inc dword [esp + 0x40]
test byte [esp + 0x13], 8
je 0x490012
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00491880
test eax, eax
mov dword [esp + 0x20], eax
je 0x490012
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
mov edx, dword [ecx + 0x128]
mov eax, dword [edx + 0x1c]
push eax
call fcn.0046ce70
mov ebp, eax
mov eax, dword [ebx + 0x2c]
add esp, 4
push eax
mov ecx, ebp
call fcn.0044c1d0
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.00461870
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
call fcn.00489c50
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x78], 9
jne 0x48ffa9
lea edx, [ebx + 0x20]
push edx
lea ecx, [ebp + 0x20]
call fcn.0046eca0
mov ecx, ebp
call fcn.0048a690
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x94]
call fcn.00487790
lea ecx, [esp + 0x90]
push ecx
mov edx, ecx
push edx
lea eax, [ebp + 0x30]
push eax
call fcn.0043ce30
add esp, 0xc
lea eax, [ebp + 0x7c]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebp
call fcn.0048a9d0
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.0048bf30
test eax, eax
mov ecx, ebp
push 1
jne 0x49002c
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 0x48fe50
jmp 0x49003a
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 0x4900b3
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 0x490084
push 0
push 0
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.00487790
mov ecx, esi
call fcn.0048c790
mov esi, eax
jmp 0x4900af
mov eax, dword [esp + 0x498]
push eax
push ebp
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.00487790
mov eax, dword [esp + 0x498]
push eax
mov ecx, esi
call fcn.0048f230
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x490050
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x490116
lea ebx, [ebx]
mov ecx, dword [ebx + 4]
mov ax, word [ecx + 0x56]
test ax, ax
je 0x49010f
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.00487790
mov eax, dword [esp + 0x498]
push eax
mov ecx, ebx
call fcn.0048f230
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x490116
cmp dword [ebx + 0x1c], esi
jle 0x490103
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x4900c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0