Function at 0x49af00
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 0x49bde6
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
test edx, edx
mov ebp, dword [esp + 0x490]
mov edi, dword [esp + 0x48c]
je 0x49af9f
test ah, 2
jne 0x49af94
mov ecx, ebx
call fcn.00449e00
test eax, eax
je 0x49af4a
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 4]
call fcn.0048d9b0
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.00491ca0
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.004933c0
mov ecx, esi
call fcn.00498410
test eax, eax
je 0x49bde6
jmp 0x49af9f
mov dword [esp + 0x494], 1
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x170]
call fcn.004933c0
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.0043e4f0
add esp, 0xc
test esi, esi
je 0x49afe1
push esi
lea ecx, [esp + 0x18c]
call fcn.0046be10
push edi
lea ecx, [esp + 0x268]
push ecx
lea edx, [esp + 0x3b8]
push edx
push ebx
call fcn.0049abd0
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.00449e30
test eax, eax
je 0x49b03b
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x20]
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x170]
push edx
call fcn.00446940
test al, al
je 0x49bde6
mov eax, dword [ebx + 0x18]
test eax, eax
mov esi, 0x2000000
je 0x49b27d
cmp dword [eax + 0x78], 9
jne 0x49b27d
mov eax, dword [eax + 0x68]
test eax, eax
je 0x49b180
mov cl, byte [eax + 0x5ee]
test cl, cl
je 0x49b180
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x49b080
mov edx, dword [eax]
jmp 0x49b082
mov edx, eax
test edx, edx
je 0x49b096
test ecx, ecx
je 0x49b08c
mov eax, dword [eax]
test byte [eax + 0x3c], 1
je 0x49bde6
mov eax, dword [ebx + 8]
test dword [eax + 0x54], esi
mov ecx, dword [eax + 0x78]
je 0x49b0a3
mov ecx, dword [ecx]
test ecx, ecx
je 0x49b0c3
test dword [eax + 0x54], esi
je 0x49b0b3
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
jmp 0x49b0b6
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x3c]
shr eax, 1
test al, 1
je 0x49bde6
mov ecx, ebx
and ecx, 0xfffff000
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
mov eax, dword [eax + 0x23c]
test dword [eax + 0x54], esi
mov ecx, dword [eax + 0x78]
je 0x49b0e3
mov ecx, dword [ecx]
test ecx, ecx
je 0x49b103
test dword [eax + 0x54], esi
je 0x49b0f3
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
jmp 0x49b0f6
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x3c]
shr eax, 1
test al, 1
je 0x49bde6
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x128]
test ah, 4
je 0x49b171
test ah, 0x10
je 0x49b171
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.0048e810
mov ecx, eax
call fcn.0046c1d0
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.0042c330
test eax, eax
je 0x49bde6
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.0048dab0
test al, al
jne 0x49bde6
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x128]
test ch, 0x10
je 0x49b1fd
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x49b1a5
mov cl, byte [eax + 0x5ee]
test cl, cl
jne 0x49b1fd
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.0048e810
mov ecx, eax
call fcn.0046c1d0
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.0042c330
test eax, eax
je 0x49b27d
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 0x49b213
mov eax, dword [eax + 8]
test eax, eax
je 0x49b213
mov eax, dword [eax + 0x3e0]
jmp 0x49b215
xor eax, eax
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x174]
push edx
call fcn.0043f9a0
add esp, 0xc
test al, al
je 0x49b27d
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0043ddc0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0
mov ecx, ebx
call fcn.00491e50
push eax
call fcn.0043d960
add esp, 8
test eax, eax
je 0x49b27d
mov ecx, dword [esp + 0x3ac]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x18]
call fcn.00426040
test eax, eax
je 0x49bde6
test dword [ebx + 0x54], esi
mov eax, dword [ebx + 0x78]
je 0x49b287
mov eax, dword [eax]
test eax, eax
jne 0x49b5ae
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x49b2ab
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x49b2ab
mov dl, byte [ecx + 0x5ee]
test dl, dl
jne 0x49b5ae
mov ecx, dword [esp + 0x498]
test ecx, ecx
je 0x49b3f0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x49b3f0
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x49b2d6
cmp eax, 0x61
jne 0x49b3f0
mov esi, dword [ebx + 0x10]
test esi, esi
mov edi, dword [esp + 0x48c]
je 0x49b359
mov ecx, dword [esi + 4]
cmp word [ecx + 0x56], 0
je 0x49b318
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.004933c0
mov ecx, esi
call fcn.00498410
mov esi, eax
jmp 0x49b355
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.004933c0
mov eax, dword [esp + 0x498]
push eax
mov ecx, esi
call fcn.0049af00
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x49b2e4
mov ecx, dword [esp + 0x3ac]
mov eax, dword [ecx]
test eax, eax
je 0x49b37a
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0x78]
cmp eax, 6
je 0x49b37a
cmp eax, 0x61
jne 0x49bde6
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x94]
call fcn.004933c0
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.004996a0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49bde6
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.0048df30
test eax, eax
je 0x49b8fe
lea edx, [esp + 0x3b0]
push edx
lea ecx, [esp + 0x94]
mov ebp, ebx
xor edi, edi
call fcn.004933c0
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 + 0xd4]
test esi, esi
je 0x49b554
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.00487de0
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + 0xb4]
mov ecx, dword [esi + 0xd34]
push edi
push edi
lea edx, [esp + 0x24]
push edx
push ecx
push eax
mov ecx, esi
call fcn.004c2ad0
test eax, eax
je 0x49b54b
mov edx, dword [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004bffc0
test eax, eax
je 0x49b54b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
test eax, eax
je 0x49b54b
mov eax, dword [eax + 0x54]
test eax, eax
je 0x49b54b
mov esi, dword [ebx + 8]
test esi, esi
mov ebp, eax
je 0x49b518
lea esp, [esp]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x49b4cc
mov eax, dword [eax + 8]
jmp 0x49b4ce
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x49b518
mov ecx, esi
call fcn.00449e30
test eax, eax
je 0x49b511
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov al, byte [ecx + 0x129]
test al, al
je 0x49b511
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 0x49b4c0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call fcn.00491c40
test al, al
jne 0x49b546
lea ecx, [esp + 0x28]
call fcn.00486950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0
mov edi, 1
lea ecx, [esp + 0x28]
call fcn.00486950
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.004996a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49bde6
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 0x49b8fe
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x49b5cd
cmp eax, 0x61
jne 0x49b8fe
mov eax, dword [ebx + 8]
test dword [eax + 0x54], esi
je 0x49b5dc
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
jmp 0x49b5df
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x49b5fb
test dword [eax + 0x54], esi
mov eax, dword [eax + 0x78]
je 0x49b5ed
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
shr ecx, 1
test cl, 1
je 0x49bde6
mov edx, ebx
and edx, 0xfffff000
mov eax, dword [edx]
mov ecx, dword [eax + 0x128]
mov eax, dword [ecx + 0x23c]
test dword [eax + 0x54], esi
je 0x49b61d
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
jmp 0x49b620
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x49b63c
test dword [eax + 0x54], esi
mov eax, dword [eax + 0x78]
je 0x49b62e
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
shr ecx, 1
test cl, 1
je 0x49bde6
mov ecx, ebx
call fcn.0048dab0
test al, al
jne 0x49bde6
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x78]
shr eax, 0x19
and eax, 1
mov dword [esp + 0x1c], 0
je 0x49b665
mov edx, dword [ecx]
jmp 0x49b667
mov edx, ecx
test edx, edx
je 0x49b784
test eax, eax
je 0x49b675
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x3c]
shr edx, 1
test dl, 1
je 0x49b784
mov esi, dword [ebx + 0x10]
test esi, esi
mov ebp, dword [esp + 0x498]
je 0x49b703
mov edi, dword [esp + 0x48c]
jmp 0x49b6a0
mov eax, dword [esi + 4]
cmp word [eax + 0x56], 0
lea edx, [esp + 0x16c]
lea ecx, [esp + 0x14]
je 0x49b6d4
push 0
push 0
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.004933c0
mov ecx, esi
call fcn.00498410
mov esi, eax
jmp 0x49b6ff
mov eax, dword [esp + 0x494]
push ebp
push eax
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.004933c0
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.0049af00
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x49b6a0
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x49b766
lea ebx, [ebx]
mov ecx, dword [esi + 4]
mov ax, word [ecx + 0x56]
test ax, ax
je 0x49b75f
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.004933c0
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.0049af00
mov esi, dword [esi + 0xc]
test esi, esi
je 0x49b766
cmp dword [esi + 0x1c], edi
jle 0x49b753
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x49b710
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49b784
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 0x49b796
mov edx, dword [eax]
jmp 0x49b798
mov edx, eax
test edx, edx
je 0x49b7b9
test ecx, ecx
je 0x49b7a2
mov eax, dword [eax]
test byte [eax + 0x3c], 1
je 0x49bde6
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x78], 0x61
je 0x49bde6
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x94]
mov edi, ebx
xor esi, esi
call fcn.004933c0
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 + 0xd4]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x49b8ac
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x49b80e
mov edx, dword [eax]
jmp 0x49b810
mov edx, eax
test edx, edx
je 0x49b8ac
test ecx, ecx
je 0x49b81e
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x49b8ac
mov esi, dword [ebx + 8]
test esi, esi
mov edi, dword [eax + 0x38]
je 0x49b88b
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x49b83f
mov eax, dword [eax + 8]
jmp 0x49b841
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x49b88b
mov ecx, esi
call fcn.00449e30
test eax, eax
je 0x49b884
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x20]
mov al, byte [ecx + 0x129]
test al, al
je 0x49b884
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 0x49b833
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x94]
push eax
mov ecx, edi
call fcn.00491c40
test al, al
je 0x49bde6
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.004996a0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49bde6
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 0x49bd0a
mov eax, dword [esi + 0x78]
mov ebp, 2
cmp eax, ebp
jne 0x49bd0a
mov edi, dword [esi + 0x68]
test edi, edi
je 0x49b9c7
mov al, byte [edi + 0x5ee]
test al, al
je 0x49b9c7
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
shr ecx, 0x19
and ecx, 1
je 0x49b944
mov edx, dword [eax]
jmp 0x49b946
mov edx, eax
test edx, edx
je 0x49b95a
test ecx, ecx
je 0x49b950
mov eax, dword [eax]
test byte [eax + 0x3c], 1
je 0x49bde6
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x54]
mov edx, 0x2000000
test edx, ecx
mov ecx, dword [eax + 0x78]
je 0x49b96e
mov ecx, dword [ecx]
test ecx, ecx
je 0x49b98a
test dword [eax + 0x54], edx
mov eax, dword [eax + 0x78]
je 0x49b97c
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
shr ecx, 1
test cl, 1
je 0x49bde6
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
mov eax, dword [ecx + 0x128]
mov eax, dword [eax + 0x23c]
test dword [eax + 0x54], edx
mov ecx, dword [eax + 0x78]
je 0x49b9a9
mov ecx, dword [ecx]
test ecx, ecx
je 0x49b9cc
test dword [eax + 0x54], edx
mov eax, dword [eax + 0x78]
je 0x49b9b7
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
shr ecx, 1
test cl, 1
je 0x49bde6
jmp 0x49b9cc
mov edx, 0x2000000
mov al, byte [edi + 0x5ee]
test al, al
je 0x49bac8
test dword [ebx + 0x54], edx
je 0x49b9e6
mov edx, dword [ebx + 0x78]
mov eax, dword [edx]
jmp 0x49b9e9
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x49bde6
mov eax, dword [eax + 0x60]
test eax, eax
je 0x49bde6
mov esi, dword [eax + 0x38]
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.004933c0
lea edx, [esp + 0x90]
push edx
mov eax, edx
push eax
lea ecx, [esi + 0x30]
push ecx
call fcn.0043e4f0
add esp, 0xc
push edi
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.004965e0
mov ecx, esi
call fcn.0048fe80
push 0
push 1
mov ecx, esi
call fcn.00491960
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.004996a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49baac
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 0x49bd0a
mov eax, dword [esi + 0x70]
test eax, eax
je 0x49bd0a
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edx
call fcn.004015f0
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.0049c9d0
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x7e], 0x22
jne 0x49bb06
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 0x49bd0a
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.0049e5f0
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 0x7e], 0x22
jne 0x49bb74
push 1
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x44]
call fcn.0049e740
mov al, byte [esp + 0x13]
xor ebp, ebp
test al, 0x10
je 0x49bbbb
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x49bb93
call fcn.004a0d20
cmp eax, 8
jl 0x49bbbb
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.00448e30
lea ecx, [esp + 0x28]
call fcn.00448dc0
test byte [esp + 0x13], 0x20
je 0x49bbe0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x49bbd7
call fcn.004a0d20
cmp eax, 8
jl 0x49bbe0
inc dword [esp + 0x40]
test byte [esp + 0x13], 8
je 0x49bce2
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0049d9e0
test eax, eax
mov dword [esp + 0x20], eax
je 0x49bce2
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
mov edx, dword [ecx + 0x128]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00477180
mov ebp, eax
mov eax, dword [ebx + 0x2c]
add esp, 4
push eax
mov ecx, ebp
call fcn.0044d900
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.0046baf0
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
call fcn.00495850
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x78], 9
jne 0x49bc79
lea edx, [ebx + 0x20]
push edx
lea ecx, [ebp + 0x20]
call fcn.00479150
mov ecx, ebp
call fcn.004962a0
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x94]
call fcn.004933c0
lea ecx, [esp + 0x90]
push ecx
mov edx, ecx
push edx
lea eax, [ebp + 0x30]
push eax
call fcn.0043e4f0
add esp, 0xc
lea eax, [ebp + 0x7c]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebp
call fcn.004965e0
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.00497b60
test eax, eax
mov ecx, ebp
push 1
jne 0x49bcfc
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 0x49bb20
jmp 0x49bd0a
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 0x49bd83
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 0x49bd54
push 0
push 0
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.004933c0
mov ecx, esi
call fcn.00498410
mov esi, eax
jmp 0x49bd7f
mov eax, dword [esp + 0x498]
push eax
push ebp
push ecx
push edi
sub esp, 0xdc
mov ecx, esp
push edx
call fcn.004933c0
mov eax, dword [esp + 0x498]
push eax
mov ecx, esi
call fcn.0049af00
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x49bd20
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x49bde6
lea ebx, [ebx]
mov ecx, dword [ebx + 4]
mov ax, word [ecx + 0x56]
test ax, ax
je 0x49bddf
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.004933c0
mov eax, dword [esp + 0x498]
push eax
mov ecx, ebx
call fcn.0049af00
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x49bde6
cmp dword [ebx + 0x1c], esi
jle 0x49bdd3
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x49bd90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0xf0