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

Disassembly:
push ebp
push edi
xor edi, edi
push esi
push ebx
mov ebp, edi
sub esp, 0x13c
mov eax, dword [esp + 0x160]
mov dword [esp + 0x34], ecx
lea ebx, [eax + 0x6c]
mov dword [esp], ebx
call fcn.004ee3c0
mov dword [esp], ebx
mov dword [esp + 0x38], eax
call fcn.004ee480
mov ebx, eax
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x30], eax
mov dword [esp + 0xf8], 0
test ecx, ecx
je 0x4912a8
nop
cmp word [esp + 0x154], 0xffff
je 0x491312
mov ecx, dword [esp + 0x158]
xor edx, edx
test ecx, ecx
je 0x491344
xor eax, eax
cmp word [esp + 0x15c], 0xffff
je 0x4912c9
cmp al, dl
je 0x4912f4
cmp ebp, dword [esp + 0x30]
jae 0x4912f4
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x491233
mov eax, dword [esp + 0x164]
or dword [eax], 4
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0x154]
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov edi, dword [esp + 0x16c]
lea esi, [ebp + ebp]
mov eax, dword [ebx]
mov dword [esp + 4], 0
add edi, esi
movzx ecx, word [edi]
mov dword [esp], ecx
mov ecx, ebx
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x25
je 0x491350
mov ecx, dword [esp + 0x150]
movzx esi, word [edi]
mov eax, 0xffffffff
test ecx, ecx
je 0x491285
movzx eax, word [esp + 0x154]
cmp ax, 0xffff
je 0x4913a4
cmp si, ax
je 0x4913d0
or dword [esp + 0xf8], 4
mov ecx, dword [esp + 0x150]
add ebp, 1
test ecx, ecx
jne 0x4911c0
mov ecx, dword [esp + 0x158]
test ecx, ecx
je 0x4912f4
xor eax, eax
cmp word [esp + 0x15c], 0xffff
mov edx, 1
jne 0x4911f1
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x491490
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4913e1
mov word [esp + 0x15c], ax
xor eax, eax
cmp al, dl
jne 0x4911f9
mov eax, dword [esp + 0xf8]
test eax, eax
jne 0x49120e
cmp ebp, dword [esp + 0x30]
jne 0x49120e
jmp 0x491218
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4914a3
movzx eax, word [eax]
cmp ax, 0xffff
je 0x491400
mov ecx, dword [esp + 0x158]
xor edx, edx
mov word [esp + 0x154], ax
test ecx, ecx
jne 0x4911e0
mov eax, 1
xor edx, edx
jmp 0x4911f1
mov edx, dword [esp + 0x16c]
mov eax, dword [ebx]
lea edi, [ebp + 1]
mov dword [esp + 4], 0
movzx ecx, word [edx + esi + 2]
mov dword [esp], ecx
mov ecx, ebx
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x45
mov dword [esp + 0xfc], 0
je 0x491410
cmp al, 0x4f
je 0x491410
sub eax, 0x41
cmp al, 0x38
ja case.0x49139d.4
movzx eax, al
jmp dword [eax*4 + 0x7a653c]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4914b0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x491440
cmp si, ax
mov word [esp + 0x154], ax
jne 0x49128e
nop
lea ecx, [esp + 0x150]
call fcn.004d9830
jmp 0x491296
mov dword [esp + 0x158], 0
mov eax, 1
jmp 0x4911f1
mov dword [esp + 0x150], 0
jmp 0x4912a8
mov edx, dword [esp + 0x16c]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 4], 0
lea edi, [ebp + 2]
movzx edx, word [edx + esi + 4]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
jmp 0x49138f
mov dword [esp + 0x150], 0
jmp 0x491285
lea ecx, [esp + 0x150]
call fcn.00485b20
mov edx, dword [ebx]
movzx eax, ax
mov dword [esp + 4], 0
mov dword [esp], eax
mov ecx, ebx
call dword [edx + 0x30]
sub esp, 8
cmp al, 0xa
je 0x4924cc
or dword [esp + 0xf8], 4
mov ebp, edi
jmp 0x491296
mov eax, dword [ecx]
mov byte [esp + 0x3f], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3f]
jmp 0x4912d8
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x491321
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x4913b3
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x15c]
mov ebp, edi
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00491160
sub esp, 0x20
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x6c]
mov word [esp + 0x154], ax
jmp 0x491296
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov ebp, edi
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x100], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x104], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x108], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x114], edx
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x18], 7
mov dword [esp + 0x118], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 4], edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x168]
add eax, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00490a80
sub esp, 0x24
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xe4]
mov word [esp + 0x154], ax
jmp 0x491296
mov eax, dword [esp + 0x38]
mov ebp, edi
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x64]
mov dword [esp + 0x100], edx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x104], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x108], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x124], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x128], edx
mov eax, dword [eax + 0x90]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x12c], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x168]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00490a80
sub esp, 0x24
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xd4]
mov word [esp + 0x154], ax
jmp 0x491296
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 0x270f
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0xfc]
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x150], eax
mov esi, dword [esp + 0xf8]
movzx eax, word [esp + 0x5c]
test esi, esi
mov word [esp + 0x154], ax
jne 0x491484
mov eax, dword [esp + 0xfc]
test eax, eax
lea edx, [eax - 0x76c]
js 0x49257e
mov eax, dword [esp + 0x168]
mov ebp, edi
mov dword [eax + 0x14], edx
jmp 0x491296
mov eax, dword [ebx]
lea esi, [esp + 0x100]
mov ecx, ebx
mov dword [esp + 4], 0x7a652b
mov dword [esp], 0x7a6522
mov ebp, edi
mov dword [esp + 8], esi
call dword [eax + 0x2c]
sub esp, 0xc
lea eax, [esp + 0x100]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xf8]
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00491160
sub esp, 0x20
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xac]
mov word [esp + 0x154], ax
jmp 0x491296
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x17
mov ebp, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xa4]
mov word [esp + 0x154], ax
jmp 0x491296
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0xc
mov ebp, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x9c]
mov word [esp + 0x154], ax
jmp 0x491296
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov ebp, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x8c]
mov word [esp + 0x154], ax
jmp 0x491296
mov eax, dword [ebx]
lea esi, [esp + 0x100]
mov ecx, ebx
mov dword [esp + 4], 0x7a6531
mov dword [esp], 0x7a652b
mov ebp, edi
mov dword [esp + 8], esi
call dword [eax + 0x2c]
sub esp, 0xc
lea eax, [esp + 0x100]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xf8]
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00491160
sub esp, 0x20
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x84]
mov word [esp + 0x154], ax
jmp 0x491296
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3d
mov ebp, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x7c]
mov word [esp + 0x154], ax
jmp 0x491296
mov eax, dword [ebx]
lea esi, [esp + 0x100]
mov ecx, ebx
mov dword [esp + 4], 0x7a653a
mov dword [esp], 0x7a6531
mov ebp, edi
mov dword [esp + 8], esi
call dword [eax + 0x2c]
sub esp, 0xc
lea eax, [esp + 0x100]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xf8]
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00491160
sub esp, 0x20
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x74]
mov word [esp + 0x154], ax
jmp 0x491296
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x15c]
mov ebp, edi
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00491160
sub esp, 0x20
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x64]
mov word [esp + 0x154], ax
jmp 0x491296
lea ecx, [esp + 0x150]
call fcn.00485b20
mov edx, dword [ebx]
movzx eax, ax
mov dword [esp], 1
mov dword [esp + 4], eax
mov ecx, ebx
call dword [edx + 8]
sub esp, 8
test al, al
je case.0x49139d.4
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x14], 0x4fb5a0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x100]
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00490a80
sub esp, 0x24
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x150]
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x54]
mov word [esp + 0x154], ax
lea eax, [esp + 0x158]
mov dword [esp], eax
call fcn.00485a50
sub esp, 4
test al, al
jne 0x491484
mov ecx, dword [esp + 0xf8]
test ecx, ecx
jne 0x491484
mov edx, dword [esp + 0x100]
test edx, edx
jne 0x491484
lea ecx, [esp + 0x150]
call fcn.00485b20
mov esi, eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp], 0x2d
call dword [eax + 0x28]
sub esp, 4
cmp si, ax
je 0x491e8b
lea ecx, [esp + 0x150]
call fcn.00485b20
mov esi, eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp], 0x2b
call dword [eax + 0x28]
sub esp, 4
cmp si, ax
jne 0x491484
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x17
mov ebp, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov ecx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x100]
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov ecx, esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x150], eax
mov dword [esp + 0x48], eax
movzx eax, word [esp + 0x4c]
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x14], 0
mov word [esp + 0x154], ax
lea eax, [esp + 0xf8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 4], edx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0x44]
mov word [esp + 0x154], ax
jmp 0x491296
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov ebp, edi
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x100], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x104], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x108], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x114], edx
mov eax, dword [eax + 0x60]
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x18], 7
mov dword [esp + 0x118], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 4], edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x168]
add eax, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00490a80
sub esp, 0x24
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xec]
mov word [esp + 0x154], ax
jmp 0x491296
mov eax, dword [esp + 0x38]
mov ebp, edi
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x94]
mov dword [esp + 0x100], edx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x104], edx
mov edx, dword [eax + 0x9c]
mov dword [esp + 0x108], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0xac]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x124], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x128], edx
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x12c], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x168]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00490a80
sub esp, 0x24
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xdc]
mov word [esp + 0x154], ax
jmp 0x491296
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x15c]
mov ebp, edi
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.00491160
sub esp, 0x20
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xcc]
mov word [esp + 0x154], ax
jmp 0x491296
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x1f
mov ebp, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
add eax, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xc4]
mov word [esp + 0x154], ax
jmp 0x491296
lea ecx, [esp + 0x150]
call fcn.00485b20
mov edx, dword [ebx]
movzx eax, ax
mov dword [esp], 0x20
mov dword [esp + 4], eax
mov ecx, ebx
call dword [edx + 8]
sub esp, 8
test al, al
je 0x4924df
lea ecx, [esp + 0x150]
lea esi, [esp + 0xf8]
mov ebp, edi
call fcn.004d9830
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x160]
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x168]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
lea edx, [esi + 0xc]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x158]
mov dword [esp + 8], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xbc]
mov word [esp + 0x154], ax
jmp 0x491296
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], eax
lea eax, [esp + 0xfc]
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x150], eax
mov ebp, dword [esp + 0xf8]
movzx eax, word [esp + 0x94]
test ebp, ebp
mov word [esp + 0x154], ax
jne 0x491484
mov eax, dword [esp + 0xfc]
mov esi, dword [esp + 0x168]
mov ebp, edi
sub eax, 1
mov dword [esi + 0x10], eax
jmp 0x491296
lea ecx, [esp + 0x150]
call fcn.00485b20
mov edx, dword [ebx]
movzx eax, ax
mov dword [esp + 4], 0
mov dword [esp], eax
mov ecx, ebx
call dword [edx + 0x30]
sub esp, 8
cmp al, 9
jne case.0x49139d.4
lea ecx, [esp + 0x150]
mov ebp, edi
call fcn.004d9830
jmp 0x491296
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x1f
mov ebp, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
add eax, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
mov dword [esp], eax
call fcn.004905d0
sub esp, 0x28
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0x150], eax
movzx eax, word [esp + 0xb4]
mov word [esp + 0x154], ax
jmp 0x491296
lea edx, [eax + 0x64]
jmp 0x491820