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

Disassembly:
push 0xffffffffffffffff
push 0x53844c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [esi + 0x320]
cmp eax, 3
ja case.default.0x487265
jmp dword [eax*4 + 0x487724]
mov ecx, esi
call fcn.004040e0
push 0x40
call fcn.00455390
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov dword [esp + 0x140], ebx
je 0x4872a5
mov ecx, dword [0x6a9038]
push 0xaa
push 0x32
push 2
push ebx
push ecx
push esi
mov ecx, eax
call fcn.00401180
inc dword [esi + 0x320]
jmp case.default.0x487265
mov eax, dword [esi + 0x288]
test al, 2
je case.default.0x487265
push 0xffffffffffffffff
and al, 0xfd
push ebx
push 0x10
mov ecx, esi
mov dword [esi + 0x288], eax
call fcn.00460c10
push 3
call fcn.004e5da0
add esp, 4
test eax, eax
jne 0x4872f8
cmp dword [esi + 0xc20], ebx
jne 0x4872f8
lea edx, [esi + 8]
push ebx
push edx
push ebx
push 0xe
call fcn.00479d30
add esp, 0x10
inc dword [esi + 0x320]
jmp case.default.0x487265
cmp byte [esi + 0x142], bl
je case.default.0x487265
push 1
push 0x11
mov ecx, esi
call fcn.00460d00
mov ecx, esi
call fcn.00487100
inc dword [esi + 0x320]
jmp case.default.0x487265
mov eax, dword [esi + 0x388]
lea edi, [esi + 0x388]
cmp eax, 0x3c
lea ecx, [eax + 1]
mov dword [edi], ecx
jle 0x487357
mov dword [esi + 0x31c], 2
mov dword [esi + 0x320], ebx
jmp case.default.0x487265
push ebp
lea ecx, [esp + 0x40]
mov word [esp + 0x14], bx
mov word [esp + 0x16], bx
mov word [esp + 0x18], bx
call fcn.0040a3b0
lea edx, [esp + 0x14]
lea eax, [esp + 0x40]
push edx
push esi
push eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov word [esp + 0xc4], bx
mov word [esp + 0xc6], bx
mov word [esp + 0xc8], bx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x24], bx
mov word [esp + 0x22], bx
mov word [esp + 0x20], bx
mov word [esp + 0x26], 0x17
call fcn.00453ee0
lea ecx, [esi + 0x398]
push edi
lea edx, [esp + 0x140]
push ecx
push edx
call fcn.004e77a0
push eax
lea eax, [esi + 0x38c]
lea ecx, [esp + 0x134]
push eax
push ecx
call fcn.004e7720
mov edx, dword [eax]
mov dword [esp + 0x70], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x70]
mov edx, dword [eax + 8]
lea eax, [esp + 0x64]
mov dword [esp + 0x78], edx
push eax
lea edx, [esp + 0x128]
push ecx
push edx
call fcn.004e7760
mov ecx, dword [eax]
add esp, 0x30
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x50]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
call fcn.004e7590
lea edx, [esp + 0x40]
push edx
call fcn.004524c0
mov ebp, 1
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.004549a0
mov eax, dword [esp + 0xb4]
add esp, 0xc
cmp eax, ebx
mov ecx, dword [0x6a9038]
je 0x4874c8
cmp eax, esi
je 0x4874c8
cmp eax, ecx
jne 0x4874c8
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
push ebx
push ecx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004e6470
add esp, 0x10
test eax, eax
je 0x487653
mov eax, dword [0x6a9038]
lea edx, [esp + 0x40]
add eax, 8
push edx
lea ecx, [esp + 0x128]
push eax
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebp
call fcn.004e7760
mov edx, dword [eax]
add esp, 0xc
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
mov edx, dword [eax + 8]
mov dword [esp + 0x34], edx
call fcn.004e74a0
mov edi, eax
lea ecx, [esp + 0x1c]
shl edi, 0xc
call fcn.004e74a0
mov ecx, eax
mov eax, edi
cdq
idiv ecx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x1c]
push edx
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x2c], eax
call fcn.004e7650
lea eax, [esp + 0x28]
lea ecx, [esp + 0x1c]
push eax
call fcn.004e75f0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x110]
push edx
push eax
call fcn.004e7720
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x6a9038]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe4], 6
mov word [esp + 0xec], 0x14
mov dword [esp + 0xe8], 0xf
mov edx, dword [ecx]
lea eax, [esp + 0xe4]
push eax
call dword [edx + 0xc]
lea edi, [esi + 0xbf0]
push str.what_in_the_name_of_Dog_
cmp edi, ebx
mov dword [esi + 0xc10], ebx
setne cl
push ecx
call fcn.004015b0
mov eax, dword [esi + 0xbec]
add esp, 8
cmp eax, ebx
jne 0x48762f
mov eax, dword [0x56e990]
cmp eax, ebx
je 0x487643
mov ecx, 0x13c
cmp word [eax + 0x38], cx
je 0x487625
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x487616
jmp 0x487643
cmp eax, ebx
mov dword [esi + 0xbec], eax
je 0x487643
push eax
call fcn.00458360
mov dword [edi], eax
mov dword [edi + 4], edx
add esp, 4
mov dword [esi + 0xbf8], ebp
mov dword [esi + 0x31c], 2
mov dword [esi + 0x320], ebx
lea ebp, [esi + 0x3f0]
push ebp
call fcn.004583f0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x4876f4
push 0x64
call fcn.004088a0
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
mov dword [esp + 0x144], 1
je 0x4876c9
mov ecx, edi
call fcn.00408b10
mov cl, 0x80
mov al, 0xff
mov dword [edi], 0x53be78
mov dword [edi + 0x60], 0x17c
mov byte [edi + 0x4c], cl
mov byte [edi + 0x4d], cl
mov byte [edi + 0x4e], bl
mov byte [edi + 0x4f], al
mov byte [edi + 0x50], al
mov byte [edi + 0x51], cl
mov byte [edi + 0x52], cl
mov byte [edi + 0x53], cl
mov byte [edi + 0x54], bl
mov byte [edi + 0x55], al
mov byte [edi + 0x56], al
mov byte [edi + 0x57], al
jmp 0x4876cb
xor edi, edi
push edi
mov dword [esp + 0x148], 0xffffffff
call fcn.00458360
add esi, 8
push ebx
push esi
mov dword [ebp], eax
push 0x80b8
mov dword [ebp + 4], edx
call fcn.00471ea0
add esp, 0x10
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, edi
call fcn.0048a350
pop ebp
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret