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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x14c
mov eax, dword [esp + 0x170]
mov dword [esp + 0x48], ecx
lea ebx, [eax + 0x6c]
mov dword [esp], ebx
call fcn.00569da0
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x4c], eax
call fcn.00569e60
mov esi, eax
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x108], 0
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x164]
cmp ax, 0xffff
sete dl
test ecx, ecx
setne al
and al, dl
mov edi, eax
jne 0x504cd0
cmp word [esp + 0x16c], 0xffff
mov ebp, dword [esp + 0x168]
sete al
test ebp, ebp
setne cl
and cl, al
mov edi, ecx
jne 0x504d00
mov ecx, dword [esp + 0x108]
cmp dl, al
je 0x504ca0
cmp ebx, dword [esp + 0x3c]
jae 0x504ca0
test ecx, ecx
jne 0x504caa
mov edx, dword [esp + 0x17c]
lea edi, [ebx + ebx]
mov eax, dword [esi]
lea ebp, [ebx + 1]
mov dword [esp + 4], 0
add edx, edi
movzx ecx, word [edx]
mov dword [esp + 0x40], edx
mov dword [esp], ecx
mov ecx, esi
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x25
jne 0x504c00
mov edx, dword [esp + 0x17c]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 4], 0
movzx edx, word [edx + edi + 2]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
mov dword [esp + 0x10c], 0
cmp al, 0x45
je 0x504c48
cmp al, 0x4f
je 0x504c48
sub eax, 0x41
cmp al, 0x38
ja case.0x504bf7.4
movzx eax, al
jmp dword [eax*4 + 0x5e6278]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x160]
movzx eax, word [esp + 0x164]
movzx ebx, word [edx]
test ecx, ecx
je 0x504c24
cmp ax, 0xffff
je 0x504d68
cmp bx, ax
je 0x504d40
or dword [esp + 0x108], 4
movzx eax, word [esp + 0x164]
mov ebx, ebp
jmp 0x504b2d
lea ebp, [ebx + 2]
mov ebx, dword [esp + 0x17c]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 4], 0
movzx edx, word [ebx + edi + 4]
mov dword [esp], edx
call dword [eax + 0x30]
sub eax, 0x41
sub esp, 8
cmp al, 0x38
jbe 0x504bf4
or dword [esp + 0x108], 4
movzx eax, word [esp + 0x164]
lea esi, [esi]
nop
mov ecx, dword [esp + 0x160]
lea ebx, [ebp + 1]
jmp 0x504b2d
cmp ebx, dword [esp + 0x3c]
je 0x504d30
mov eax, dword [esp + 0x174]
or dword [eax], 4
mov eax, dword [esp + 0x160]
mov edx, dword [esp + 0x164]
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x505e90
movzx eax, word [eax]
xor edx, edx
cmp ax, 0xffff
jne 0x504b43
mov dword [esp + 0x160], 0
mov edx, edi
jmp 0x504b43
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x505e70
movzx ecx, word [eax]
xor eax, eax
cmp cx, 0xffff
jne 0x504b65
mov dword [esp + 0x168], 0
mov eax, edi
jmp 0x504b65
test ecx, ecx
jne 0x504caa
jmp 0x504cb4
call fcn.00533bd0
mov eax, 0xffffffff
mov ebx, ebp
mov ecx, dword [esp + 0x160]
mov word [esp + 0x164], ax
mov eax, 0xffffffff
jmp 0x504b2d
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x505f65
movzx eax, word [eax]
cmp ax, 0xffff
je 0x505ea0
mov ecx, dword [esp + 0x160]
jmp 0x504c24
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0x68], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x6c]
mov word [esp + 0x164], ax
test edx, edx
jne 0x504c90
mov ecx, dword [esp + 0x10c]
mov edi, dword [esp + 0x178]
lea ebx, [ecx + 0x64]
lea edx, [ecx - 0x76c]
test ecx, ecx
cmovs edx, ebx
mov dword [edi + 0x14], edx
jmp 0x504c90
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x94]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x9c]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x124], edx
mov edx, dword [eax + 0xac]
mov dword [esp + 0x128], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x12c], edx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x130], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x134], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x138], edx
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005042f0
sub esp, 0x24
mov dword [esp + 0xe8], eax
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xec], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xec]
mov word [esp + 0x164], ax
test ebx, ebx
jne 0x504c90
mov edx, dword [esp + 0x10c]
mov edi, dword [esp + 0x178]
mov dword [edi + 0x10], edx
jmp 0x504c90
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x124], edx
mov eax, dword [eax + 0x60]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x18], 7
mov dword [esp + 0x128], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.005042f0
sub esp, 0x24
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0xf8], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xfc]
mov word [esp + 0x164], ax
test edx, edx
jne 0x504c90
mov edx, dword [esp + 0x10c]
mov edi, dword [esp + 0x178]
mov dword [edi + 0x18], edx
jmp 0x504c90
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.00504ad0
sub esp, 0x20
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x74]
mov word [esp + 0x164], ax
jmp 0x504c90
lea ecx, [esp + 0x160]
call fcn.004d0ae0
mov edx, dword [esi]
mov ecx, esi
mov dword [esp], 1
movzx eax, ax
mov dword [esp + 4], eax
call dword [edx + 8]
sub esp, 8
test al, al
je case.0x504bf7.4
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
lea ebx, [esp + 0x110]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x14], 0x59e8c0
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005042f0
sub esp, 0x24
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x160]
mov dword [esp + 0x60], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x64]
mov word [esp + 0x164], ax
lea eax, [esp + 0x168]
mov dword [esp], eax
call fcn.004d0a40
sub esp, 4
test al, al
jne 0x504c7f
mov eax, dword [esp + 0x108]
or eax, dword [esp + 0x110]
jne 0x504c7f
lea ecx, [esp + 0x160]
call fcn.004d0ae0
mov ecx, esi
mov edi, eax
mov eax, dword [esi]
mov dword [esp], 0x2d
call dword [eax + 0x28]
sub esp, 4
cmp di, ax
je 0x50526e
lea ecx, [esp + 0x160]
call fcn.004d0ae0
mov ecx, esi
mov edi, eax
mov eax, dword [esi]
mov dword [esp], 0x2b
call dword [eax + 0x28]
sub esp, 4
cmp di, ax
jne 0x504c7f
lea eax, [esp + 0x108]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov ecx, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x160], eax
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x5c], ecx
mov ecx, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], eax
movzx eax, word [esp + 0x5c]
mov dword [esp + 0xc], edx
mov word [esp + 0x164], ax
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x164]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x54]
mov word [esp + 0x164], ax
jmp 0x504c7f
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.00504ad0
sub esp, 0x20
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xdc]
mov word [esp + 0x164], ax
jmp 0x504c90
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0xd0], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xd4]
mov word [esp + 0x164], ax
test edx, edx
jne 0x504c90
mov edx, dword [esp + 0x10c]
mov edi, dword [esp + 0x178]
mov dword [edi + 0xc], edx
jmp 0x504c90
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0xb0], eax
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xb4], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xb4]
mov word [esp + 0x164], ax
test ebx, ebx
jne 0x504c90
mov edx, dword [esp + 0x10c]
mov edi, dword [esp + 0x178]
mov dword [edi + 8], edx
jmp 0x504c90
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xac], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xac]
mov word [esp + 0x164], ax
test ecx, ecx
jne 0x504c90
jmp 0x50557e
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0x98], eax
mov edi, dword [esp + 0x108]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x9c]
mov word [esp + 0x164], ax
test edi, edi
jne 0x504c90
mov edx, dword [esp + 0x10c]
mov edi, dword [esp + 0x178]
mov dword [edi + 4], edx
jmp 0x504c90
mov eax, dword [esi]
lea ebx, [esp + 0x110]
mov ecx, esi
mov dword [esp + 4], 0x5e626d
mov dword [esp + 8], ebx
mov dword [esp], str._H:_M
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.00504ad0
sub esp, 0x20
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x94]
mov word [esp + 0x164], ax
jmp 0x504c90
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x124], edx
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x18], 7
mov dword [esp + 0x128], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.005042f0
sub esp, 0x24
mov dword [esp + 0xf0], eax
mov edi, dword [esp + 0x108]
mov dword [esp + 0xf4], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xf4]
mov word [esp + 0x164], ax
test edi, edi
jne 0x504c90
jmp 0x505094
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x64]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x124], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x128], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x12c], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x130], edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x134], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x138], edx
mov eax, dword [eax + 0x90]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005042f0
sub esp, 0x24
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xe4], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xe4]
mov word [esp + 0x164], ax
test ecx, ecx
jne 0x504c90
jmp 0x504f92
mov eax, dword [esi]
lea ebx, [esp + 0x110]
mov ecx, esi
mov dword [esp + 4], str._H:_M
mov dword [esp + 8], ebx
mov dword [esp], 0x5e625e
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.00504ad0
sub esp, 0x20
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xbc]
mov word [esp + 0x164], ax
jmp 0x504c90
lea ecx, [esp + 0x160]
call fcn.004d0ae0
mov edx, dword [esi]
mov ecx, esi
mov dword [esp], 0x20
movzx eax, ax
mov dword [esp + 4], eax
call dword [edx + 8]
sub esp, 8
test al, al
jne 0x505eb2
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0xa
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xc4]
mov word [esp + 0x164], ax
mov edi, dword [esp + 0x108]
movzx eax, word [esp + 0x164]
test edi, edi
jne 0x504c90
jmp 0x5054c4
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xa4]
mov word [esp + 0x164], ax
test edx, edx
jne 0x504c90
mov edi, dword [esp + 0x10c]
lea edx, [edi - 1]
mov edi, dword [esp + 0x178]
mov dword [edi + 0x10], edx
jmp 0x504c90
lea ecx, [esp + 0x160]
call fcn.004d0ae0
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 4], 0
movzx eax, ax
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
cmp al, 0xa
jne case.0x504bf7.4
mov ecx, dword [esp + 0x160]
call fcn.00533bd0
mov ecx, 0xffffffff
mov eax, 0xffffffff
mov word [esp + 0x164], cx
jmp 0x504c90
lea ecx, [esp + 0x160]
call fcn.004d0ae0
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 4], 0
movzx eax, ax
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
cmp al, 9
jne case.0x504bf7.4
jmp 0x505c34
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.00504ad0
sub esp, 0x20
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x7c]
mov word [esp + 0x164], ax
jmp 0x504c90
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0x88], eax
mov ebx, dword [esp + 0x108]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x8c]
mov word [esp + 0x164], ax
test ebx, ebx
jne 0x504c90
mov edx, dword [esp + 0x10c]
mov edi, dword [esp + 0x178]
mov dword [edi], edx
jmp 0x504c90
mov eax, dword [esi]
lea ebx, [esp + 0x110]
mov ecx, esi
mov dword [esp + 4], 0x5e6276
mov dword [esp + 8], ebx
mov dword [esp], 0x5e626d
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.00504ad0
sub esp, 0x20
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x84]
mov word [esp + 0x164], ax
jmp 0x504c90
mov eax, dword [ebp]
mov byte [esp + 0x40], dl
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, byte [esp + 0x40]
mov ecx, eax
jmp 0x504d0f
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x504cdf
mov dword [esp + 0x160], 0
xor ecx, ecx
jmp 0x504c24
mov ecx, dword [esp + 0x160]
call fcn.00533bd0
mov eax, 0xffffffff
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 1
mov word [esp + 0x164], ax
lea eax, [esp + 0x108]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 9
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00503e80
sub esp, 0x28
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xcc]
mov word [esp + 0x164], ax
jmp 0x505b2f
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x504d77