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

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x15c
mov eax, dword [esp + 0x180]
mov dword [esp + 0x3c], ecx
lea ebx, [eax + 0x6c]
mov dword [esp], ebx
call fcn.0050b170
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x40], eax
call fcn.0050b1d0
mov edi, eax
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov dword [esp + 0x118], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x178]
lea ecx, [esp + 0x170]
mov dword [esp], eax
call fcn.00433f80
sub esp, 4
cmp al, 1
je 0x479a40
mov eax, dword [esp + 0x34]
cmp ebp, eax
jae 0x479a40
test ebx, ebx
jne 0x479a4c
mov eax, dword [esp + 0x18c]
lea esi, [ebp + ebp]
mov ecx, edi
add eax, esi
mov edx, eax
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov dword [esp + 4], 0
movzx edx, word [edx]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x25
jne 0x479988
mov ecx, dword [esp + 0x18c]
mov eax, dword [edi]
mov dword [esp + 4], 0
movzx edx, word [ecx + esi + 2]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
mov dword [esp + 0x11c], 0
cmp al, 0x45
je 0x479a10
cmp al, 0x4f
je 0x479a10
add ebp, 1
sub eax, 0x41
cmp al, 0x38
ja case.0x47997d.4
movzx eax, al
jmp dword [eax*4 + 0x518ccc]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x170]
movzx esi, word [eax]
call fcn.004340c0
cmp si, ax
je 0x4799e0
mov dword [esp + 0x118], 4
mov ebx, 4
add ebp, 1
jmp 0x4798d0
lea ecx, [esp + 0x170]
call fcn.004340c0
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 4], 0
movzx eax, ax
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
cmp al, 9
jne case.0x47997d.4
mov ecx, dword [esp + 0x170]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x47ab20
add eax, 2
mov dword [ecx + 8], eax
mov eax, 0xffffffff
mov word [esp + 0x174], ax
jmp 0x4799b0
mov ecx, dword [esp + 0x18c]
mov eax, dword [edi]
add ebp, 2
mov dword [esp + 4], 0
movzx edx, word [ecx + esi + 4]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
jmp 0x479973
mov eax, dword [esp + 0x34]
cmp ebp, eax
jne 0x479a4c
test ebx, ebx
je 0x479a56
mov eax, dword [esp + 0x184]
or dword [eax], 4
mov eax, dword [esp + 0x170]
mov edx, dword [esp + 0x174]
add esp, 0x15c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x178]
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478560
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x7c]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
mov edx, dword [esp + 0x11c]
mov esi, dword [esp + 0x188]
lea ecx, [edx + 0x64]
lea eax, [edx - 0x76c]
test edx, edx
cmovs eax, ecx
mov dword [esi + 0x14], eax
jmp 0x4799b0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0xa4]
mov ebx, dword [eax + 0x9c]
mov ecx, dword [eax + 0xa0]
mov esi, dword [eax + 0x98]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xac]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0x94]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x134], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x124], esi
mov dword [esp + 0x138], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x120]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x140], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x144], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x148], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x14c], edx
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00478f60
sub esp, 0x24
mov dword [esp + 0xf8], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xfc], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xfc]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x188]
mov dword [esi + 0x10], eax
jmp 0x4799b0
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x10], 0x17
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478950
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xc4]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x188]
mov dword [esi + 8], eax
jmp 0x4799b0
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xc], 1
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478950
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xbc]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
jmp 0x479d35
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x10], 0x3b
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478950
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xac]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x188]
mov dword [esi + 4], eax
jmp 0x4799b0
mov eax, dword [edi]
lea ebx, [esp + 0x120]
mov ecx, edi
mov dword [esp + 4], 0x518cc1
mov dword [esp + 8], ebx
mov dword [esp], str._H:_M
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x188]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
call fcn.00479880
sub esp, 0x20
mov dword [esp + 0xa0], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xa4]
mov word [esp + 0x174], ax
jmp 0x4799b0
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xc], 1
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478950
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xb4]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x188]
sub eax, 1
mov dword [esi + 0x10], eax
jmp 0x4799b0
lea ecx, [esp + 0x170]
call fcn.004340c0
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 4], 0
movzx eax, ax
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
cmp al, 0xa
jne case.0x47997d.4
jmp 0x4799e0
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x10], 0x1f
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xc], 1
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478950
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xe4]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x188]
mov dword [esi + 0xc], eax
jmp 0x4799b0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x4c]
mov edx, dword [eax + 0x5c]
mov ebx, dword [eax + 0x54]
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x38], esi
mov esi, dword [eax + 0x50]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x138], edx
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x128], esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x18], 7
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call fcn.00478f60
sub esp, 0x24
mov dword [esp + 0x108], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x10c]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x188]
mov dword [esi + 0x18], eax
jmp 0x4799b0
mov eax, dword [edi]
lea ebx, [esp + 0x120]
mov ecx, edi
mov dword [esp + 4], str._H:_M
mov dword [esp + 8], ebx
mov dword [esp], 0x518cb2
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x188]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
call fcn.00479880
sub esp, 0x20
mov dword [esp + 0xc8], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xcc], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xcc]
mov word [esp + 0x174], ax
jmp 0x4799b0
lea ecx, [esp + 0x170]
call fcn.004340c0
mov edx, dword [edi]
mov ecx, edi
mov dword [esp], 0x20
movzx eax, ax
mov dword [esp + 4], eax
call dword [edx + 8]
sub esp, 8
test al, al
je 0x47ab2a
mov ecx, dword [esp + 0x170]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x47abad
add eax, 2
mov dword [ecx + 8], eax
lea eax, [esp + 0x118]
mov edx, 0xffffffff
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x180]
mov word [esp + 0x174], dx
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004781a0
sub esp, 0x28
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xdc]
mov word [esp + 0x174], ax
mov ebx, dword [esp + 0x118]
test ebx, ebx
jne 0x4799b0
jmp 0x47a095
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x30]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x38], esi
mov esi, dword [eax + 0x34]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x138], edx
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x128], esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x18], 7
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call fcn.00478f60
sub esp, 0x24
mov dword [esp + 0x100], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x104], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x104]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
jmp 0x47a1a7
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x74]
mov ebx, dword [eax + 0x6c]
mov ecx, dword [eax + 0x70]
mov esi, dword [eax + 0x68]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x90]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x134], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x124], esi
mov dword [esp + 0x138], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x120]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x140], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x144], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x148], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x14c], edx
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00478f60
sub esp, 0x24
mov dword [esp + 0xf0], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xf4], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xf4]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
jmp 0x479c92
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x17c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
call fcn.00479880
sub esp, 0x20
mov dword [esp + 0x88], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x8c]
mov word [esp + 0x174], ax
jmp 0x4799b0
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478950
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x9c]
mov word [esp + 0x174], ax
test ebx, ebx
jne 0x4799b0
mov eax, dword [esp + 0x11c]
mov esi, dword [esp + 0x188]
mov dword [esi], eax
jmp 0x4799b0
mov eax, dword [edi]
lea ebx, [esp + 0x120]
mov ecx, edi
mov dword [esp + 4], 0x518cca
mov dword [esp + 8], ebx
mov dword [esp], 0x518cc1
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x188]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
call fcn.00479880
sub esp, 0x20
mov dword [esp + 0x90], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x94], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x94]
mov word [esp + 0x174], ax
jmp 0x4799b0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x17c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
call fcn.00479880
sub esp, 0x20
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x84], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x84]
mov word [esp + 0x174], ax
jmp 0x4799b0
lea ecx, [esp + 0x170]
call fcn.004340c0
mov edx, dword [edi]
mov ecx, edi
mov dword [esp], 1
movzx eax, ax
mov dword [esp + 4], eax
call dword [edx + 8]
sub esp, 8
test al, al
je case.0x47997d.4
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
lea esi, [esp + 0x120]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x14], 0x5164e0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00478f60
sub esp, 0x24
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x170]
mov dword [esp + 0x74], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x74]
mov word [esp + 0x174], ax
lea eax, [esp + 0x178]
mov dword [esp], eax
call fcn.00433f80
sub esp, 4
mov ebx, dword [esp + 0x118]
test al, al
jne 0x4799b0
mov eax, ebx
or eax, dword [esp + 0x120]
jne 0x4799b0
lea ecx, [esp + 0x170]
call fcn.004340c0
mov ecx, edi
mov word [esp + 0x38], ax
mov eax, dword [edi]
mov dword [esp], 0x2d
call dword [eax + 0x28]
sub esp, 4
cmp word [esp + 0x38], ax
je 0x47a99a
lea ecx, [esp + 0x170]
call fcn.004340c0
mov ecx, edi
mov word [esp + 0x38], ax
mov eax, dword [edi]
mov dword [esp], 0x2b
call dword [eax + 0x28]
sub esp, 4
cmp word [esp + 0x38], ax
jne 0x4799b0
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 8], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x10], 0x17
mov dword [esp], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], 0
call fcn.00478950
mov dword [esp + 0x10], 0x3b
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x170], eax
mov dword [esp + 0x68], eax
movzx eax, word [esp + 0x6c]
mov dword [esp + 4], edx
mov word [esp + 0x174], ax
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x174]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 8], esi
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478950
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0x64]
mov word [esp + 0x174], ax
jmp 0x4799b0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x17c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
call fcn.00479880
sub esp, 0x20
mov dword [esp + 0xe8], eax
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xec], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xec]
mov word [esp + 0x174], ax
jmp 0x4799b0
call fcn.004d8820
jmp 0x4799f9
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x10], 0x1f
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xc], 0xa
mov dword [esp], eax
mov eax, dword [esp + 0x170]
call fcn.00478950
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edx
mov dword [esp + 0x170], eax
movzx eax, word [esp + 0xd4]
mov word [esp + 0x174], ax
jmp 0x47a355
call fcn.004d8820
jmp 0x47a2b3