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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d562b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x390
call fcn.0040c4e0
and eax, 0xff
test eax, eax
je 0x4878c6
xor eax, eax
jmp 0x487fc5
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38c]
add ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38c], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x390
call fcn.0048a090
mov ecx, eax
call fcn.00594960
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x487906
xor eax, eax
jmp 0x487fc5
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0xfc]
cmp ecx, dword [eax + 0x388]
ja 0x487941
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xfc], 0
jbe 0x487941
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xfc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3a0]
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4 - 4], edx
jmp 0x487948
xor eax, eax
jmp 0x487fc5
mov ecx, dword [ebp - 0x10]
add ecx, 0x390
call fcn.00592470
mov eax, dword [ebp - 0x14]
mov word [eax + 0x100], 3
mov ecx, dword [ebp + 0xc]
call fcn.00402fa0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x24], eax
mov dword [0x6c82f4], 0
jmp 0x48798b
mov edx, dword [0x6c82f4]
add edx, 1
mov dword [0x6c82f4], edx
cmp dword [0x6c82f4], 3
jge 0x4879cf
mov eax, dword [0x6c82f4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 0xe0], 0
mov edx, dword [0x6c82f4]
mov eax, dword [ebp - 0x14]
mov word [eax + edx*2 + 0xec], 0
mov ecx, dword [0x6c82f4]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2 + 0xa6], 0
jmp 0x48797c
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ecx + 0xf4], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [ecx + 0xf8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ecx + 0x12], ax
push 0xd
mov ecx, dword [ebp + 0x10]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x14
push edx
call fcn.005b4f00
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x20], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x71]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x30]
mov word [ecx + 0xb0], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov dword [ecx + 0xb4], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0xbc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x38]
mov word [ecx + 0xb8], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x40]
mov word [ecx + 0xc0], ax
mov ecx, dword [ebp + 0x10]
movzx dx, byte [ecx + 0x19]
mov eax, dword [ebp - 0x14]
mov word [eax + 0x2c], dx
cmp dword [ebp + 0x14], 0
jne 0x487ad4
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dx, word [ecx + 0x2c]
mov esi, edx
mov ecx, dword [ebp + 8]
call fcn.00403970
and eax, 0xffff
cmp esi, eax
jle 0x487ad2
mov ecx, dword [ebp + 8]
call fcn.00403970
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x2c], ax
jmp 0x487aed
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ax, word [edx + 0x2c]
cmp eax, 0xc8
jle 0x487aed
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x2c], 0xc8
mov ecx, dword [ebp + 0xc]
call fcn.004da4e0
mov edx, dword [ebp - 0x14]
mov word [edx + 0xc], ax
mov ecx, dword [ebp + 0xc]
call fcn.004da530
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0xe], ax
mov ecx, dword [ebp + 0xc]
call fcn.004bf0f0
mov edx, dword [ebp - 0x14]
mov word [edx + 0x10], ax
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 0x21]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 0x23]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x34], ecx
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 0x25]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 0x27]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 0x29]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x64]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x33]
sar ecx, 8
mov edx, dword [ebp - 0x14]
mov word [edx + 0x48], cx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x35]
sar ecx, 8
and ecx, 0xff
xor dx, dx
mov dl, cl
mov eax, dword [ebp - 0x14]
mov word [eax + 0x4a], dx
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dx, word [ecx + 0x37]
sar edx, 8
and edx, 0xff
xor ax, ax
mov al, dl
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x4c], ax
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ax, word [edx + 0x3b]
sar eax, 8
and eax, 0xff
xor cx, cx
mov cl, al
mov edx, dword [ebp - 0x14]
mov word [edx + 0x50], cx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x39]
sar ecx, 8
and ecx, 0xff
xor dx, dx
mov dl, cl
mov eax, dword [ebp - 0x14]
mov word [eax + 0x4e], dx
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dx, word [ecx + 0x3d]
sar edx, 8
and edx, 0xff
xor ax, ax
mov al, dl
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x52], ax
mov edx, dword [ebp + 0x10]
movzx ax, byte [edx + 0x35]
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x54], ax
mov edx, dword [ebp + 0x10]
movzx ax, byte [edx + 0x37]
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x56], ax
mov edx, dword [ebp + 0x10]
movzx ax, byte [edx + 0x3b]
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x58], ax
mov edx, dword [ebp + 0x10]
movzx ax, byte [edx + 0x39]
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x5a], ax
mov edx, dword [ebp + 0x10]
movzx ax, byte [edx + 0x3d]
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x5c], ax
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ax, word [edx + 0x3f]
sar eax, 8
and eax, 0xff
xor cx, cx
mov cl, al
mov edx, dword [ebp - 0x14]
mov word [edx + 0x5e], cx
mov eax, dword [ebp + 0x10]
movzx cx, byte [eax + 0x3f]
mov edx, dword [ebp - 0x14]
mov word [edx + 0x60], cx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x41]
sar ecx, 8
and ecx, 0xff
xor dx, dx
mov dl, cl
mov eax, dword [ebp - 0x14]
mov word [eax + 0x62], dx
mov ecx, dword [ebp + 0x10]
movzx dx, byte [ecx + 0x41]
mov eax, dword [ebp - 0x14]
mov word [eax + 0x64], dx
mov ecx, dword [ebp + 0x10]
movzx dx, byte [ecx + 0x33]
mov eax, dword [ebp - 0x14]
mov word [eax + 0x66], dx
mov ecx, dword [ebp + 0x10]
movzx dx, byte [ecx + 0x2b]
mov eax, dword [ebp - 0x14]
mov word [eax + 0x68], dx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov ax, word [edx + 0x2d]
mov word [ecx + 0x6a], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov ax, word [edx + 0x2f]
mov word [ecx + 0x6c], ax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov ax, word [edx + 0x43]
mov word [ecx + 0x6e], ax
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dx, word [ecx + 0x31]
sar edx, 8
and edx, 0xff
xor ax, ax
mov al, dl
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x70], ax
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ax, word [edx + 0x45]
sar eax, 8
and eax, 0xff
xor cx, cx
mov cl, al
mov edx, dword [ebp - 0x14]
mov word [edx + 0x72], cx
mov eax, dword [ebp + 0x10]
movzx cx, byte [eax + 0x31]
mov edx, dword [ebp - 0x14]
mov word [edx + 0x74], cx
mov eax, dword [ebp + 0x10]
movzx cx, byte [eax + 0x45]
mov edx, dword [ebp - 0x14]
mov word [edx + 0x76], cx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x69]
mov word [eax + 0x9e], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x53]
mov dword [eax + 0x98], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x57]
mov word [eax + 0x9c], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x6b]
mov word [eax + 0xa0], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x6d]
mov word [eax + 0xa2], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x6f]
mov word [eax + 0xa4], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x47]
mov dword [eax + 0x88], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x4b]
mov word [eax + 0x8c], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x4d]
mov dword [eax + 0x90], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x51]
mov word [eax + 0x94], dx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x19]
sar ecx, 8
and ecx, 0xff
xor dx, dx
mov dl, cl
mov eax, dword [ebp - 0x14]
mov word [eax + 0xac], dx
push 0x10
mov ecx, dword [ebp + 0x10]
add ecx, 0x59
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x78
push edx
call fcn.005b4f00
add esp, 0xc
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x6b7
jne 0x487e99
mov dword [ebp - 0x18], 0
jmp 0x487e53
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0xa
jge 0x487e6f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x7c]
cmp edx, dword [ecx*4 + 0x5f17b0]
jne 0x487e6d
jmp 0x487e6f
jmp 0x487e4a
cmp dword [ebp - 0x18], 0xa
jne 0x487e7f
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x84], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x1b]
mov word [eax + 0xa6], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x1d]
mov word [eax + 0xa8], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0x1f]
mov word [eax + 0xaa], dx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0056e700
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x44]
and ecx, 0x10000
test ecx, ecx
je 0x487f6a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
xor ecx, ecx
mov cx, word [eax + 0xb8]
test ecx, ecx
je 0x487f6a
push 0x30
call fcn.005b4560
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x487f48
mov edx, dword [ebp - 0x14]
add edx, 0x78
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov ax, word [edx + 0xb8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00487500
mov dword [ebp - 0x28], eax
jmp 0x487f4f
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x104], eax
jmp 0x487f77
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x104], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x44]
and ecx, 0x1000000
test ecx, ecx
je 0x487fc2
mov edx, dword [ebp - 0x14]
add edx, 0x84
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x80
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x7c
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x78
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
xor edx, edx
mov dx, word [ecx]
push edx
mov ecx, dword [0x6bc79c]
call fcn.00427690
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10