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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov edx, dword [ebx + 0xd4]
lea eax, [ebx + 0xe0]
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x58], ecx
dec dword [eax]
mov ax, word [esi + 0x14]
cmp ax, 0xffff
push edi
lea edi, [edx + ecx*8]
mov dword [ebp - 0xc], ebx
lea ecx, [ebx + 0x2c]
je 0x5cc639
movzx eax, ax
mov dword [edi], eax
movzx eax, word [esi + 0x22]
push eax
movzx eax, word [esi + 0x14]
jmp 0x5cc648
movzx eax, word [esi + 0x10]
mov dword [edi], eax
movzx eax, word [esi + 0x20]
push eax
movzx eax, word [esi + 0x10]
mov edx, dword [ebx + 0x6c]
lea eax, [eax + eax*2]
lea eax, [edx + eax*2]
push eax
call fcn.005b822c
mov edx, dword [edi]
mov word [edi + 6], ax
movzx ecx, word [esi]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x74]
mov edx, dword [eax + edx*4]
cmp edx, dword [eax + ecx*4]
je 0x5cc679
mov eax, dword [ebp + 8]
or ax, 0x4000
mov word [edi + 6], ax
mov cx, word [esi + 8]
cmp cx, 0xffff
je 0x5cc69a
movzx edx, word [esi + 0x1c]
mov eax, dword [ebx + 0x74]
mov edx, dword [eax + edx*4]
movzx ecx, cx
cmp edx, dword [eax + ecx*4]
je 0x5cc69a
or byte [edi + 7], 0x80
mov ax, word [esi + 0x38]
cmp ax, word [esi + 0x40]
jne 0x5cc6a8
or byte [edi + 6], 0x10
mov ax, word [esi + 0x40]
cmp ax, word [esi + 0x44]
jne 0x5cc6b6
or byte [edi + 6], 0x40
mov ax, word [esi + 0x44]
cmp ax, word [esi + 0x3c]
jne 0x5cc6c4
or byte [edi + 6], 0x20
mov ax, word [esi + 0x42]
cmp ax, word [esi + 0x3a]
jne 0x5cc6d2
or byte [edi + 6], 0x80
mov ax, word [esi + 0x42]
cmp ax, word [esi + 0x46]
jne 0x5cc6e0
or byte [edi + 7], 2
mov ax, word [esi + 0x46]
cmp ax, word [esi + 0x3e]
jne 0x5cc6ee
or byte [edi + 7], 1
movzx eax, word [esi]
movzx edx, word [esi + 4]
mov ecx, dword [ebx + 0x6c]
lea eax, [eax + eax*2]
add eax, edx
mov ax, word [ecx + eax*2]
mov word [ebp - 8], ax
mov ax, word [esi + 0x14]
cmp ax, 0xffff
mov dword [ebp - 4], 0xffff
mov dword [ebp + 8], 0xffff
je 0x5cc731
movzx edx, word [esi + 0x16]
movzx eax, ax
lea eax, [eax + eax*2]
add eax, edx
mov ax, word [ecx + eax*2]
mov word [ebp + 8], ax
cmp word [esi + 0x10], 0xffff
je 0x5cc756
movzx eax, word [esi + 0x12]
inc eax
cdq
push 3
pop ecx
idiv ecx
movzx eax, word [esi + 0x10]
lea eax, [eax + eax*2]
add edx, eax
mov eax, dword [ebx + 0x6c]
mov ax, word [eax + edx*2]
jmp 0x5cc759
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp word [ebp + 8], cx
je 0x5cc771
cmp cx, ax
je 0x5cc76d
or byte [edi + 7], 8
jmp 0x5cc771
or byte [edi + 7], 4
mov cx, word [esi + 8]
cmp cx, 0xffff
je 0x5cc804
movzx edx, word [esi + 0xc]
mov eax, dword [ebx + 0x6c]
movzx ecx, cx
lea ecx, [ecx + ecx*2]
add ecx, edx
cmp word [esi + 0x1c], 0xffff
mov cx, word [eax + ecx*2]
mov dword [ebp - 4], 0xffff
mov dword [ebp + 8], 0xffff
mov word [ebp - 8], cx
je 0x5cc7cc
movzx eax, word [esi + 0x1e]
inc eax
cdq
push 3
pop ecx
idiv ecx
movzx eax, word [esi + 0x1c]
lea eax, [eax + eax*2]
add edx, eax
mov eax, dword [ebx + 0x6c]
mov cx, word [eax + edx*2]
mov word [ebp + 8], cx
mov cx, word [esi + 0x18]
cmp cx, 0xffff
je 0x5cc7e9
movzx edx, word [esi + 0x1a]
movzx ecx, cx
lea ecx, [ecx + ecx*2]
add ecx, edx
mov ax, word [eax + ecx*2]
jmp 0x5cc7ec
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp word [ebp + 8], cx
je 0x5cc804
cmp cx, ax
je 0x5cc800
or byte [edi + 7], 0x20
jmp 0x5cc804
or byte [edi + 7], 0x10
cmp word [esi + 8], 0xffff
jne 0x5cc813
and word [edi + 4], 0
jmp 0x5cc846
push 1
lea eax, [ebx + 0x2c]
push eax
xor eax, eax
mov ax, word [esi + 0x3a]
lea ecx, [ebp - 0x20]
push eax
xor eax, eax
mov ax, word [esi + 0x14]
push eax
call fcn.005b7b4a
and word [edi + 4], 0
lea ecx, [ebp - 0x20]
call fcn.005bbe44
inc word [edi + 4]
cmp ax, word [esi + 0x1c]
jne 0x5cc834
test byte [edi + 7], 8
je 0x5cc863
movzx eax, word [esi]
movzx ecx, word [esi + 4]
lea eax, [eax + eax*2]
add eax, ecx
mov ecx, dword [ebx + 0x6c]
mov ax, word [ecx + eax*2]
mov word [esi + 0x4c], ax
test byte [edi + 7], 0x20
je 0x5cc881
movzx eax, word [esi + 8]
movzx ecx, word [esi + 0xc]
lea eax, [eax + eax*2]
add eax, ecx
mov ecx, dword [ebx + 0x6c]
mov ax, word [ecx + eax*2]
mov word [esi + 0x52], ax
cmp word [esi + 8], 0xffff
jne 0x5cc8a1
test byte [edi + 6], 0x90
jne 0x5cc897
mov ax, word [esi + 0x40]
mov word [esi + 0x48], ax
mov ax, word [esi + 0x42]
mov word [esi + 0x4a], ax
jmp 0x5cc91c
mov ax, word [edi + 6]
test al, al
js 0x5cc8bd
test al, 0x40
je 0x5cc8b1
test al, 0x20
jne 0x5cc8bd
test al, 0x10
jne 0x5cc8bd
mov ax, word [esi + 0x40]
mov word [esi + 0x48], ax
mov ax, word [edi + 6]
test al, al
js 0x5cc8d7
test ah, 2
je 0x5cc8cf
test ah, 1
jne 0x5cc8d7
mov ax, word [esi + 0x42]
mov word [esi + 0x4a], ax
test byte [edi + 6], 0x80
je 0x5cc8e5
mov ax, word [esi + 0x42]
mov word [esi + 0x4a], ax
mov ax, word [edi + 6]
test ah, 1
jne 0x5cc8fa
test al, 0x60
jne 0x5cc8fa
mov ax, word [esi + 0x44]
mov word [esi + 0x4e], ax
test byte [edi + 7], 3
jne 0x5cc908
mov ax, word [esi + 0x46]
mov word [esi + 0x50], ax
test byte [edi + 7], 1
je 0x5cc91c
mov ax, word [esi + 0x46]
cmp word [esi + 0x4a], ax
je 0x5cc91c
mov word [esi + 0x50], ax
xor eax, eax
mov ax, word [esi + 0x52]
cmp ax, 0xffff
je 0x5cc93a
xor ecx, ecx
mov cx, word [esi + 0x56]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.005cca27
xor eax, eax
mov ax, word [esi + 0x4e]
cmp ax, 0xffff
je 0x5cc958
xor ecx, ecx
mov cx, word [esi + 0x56]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.005cca27
xor eax, eax
mov ax, word [esi + 0x50]
cmp ax, 0xffff
je 0x5cc976
xor ecx, ecx
mov cx, word [esi + 0x56]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.005cca27
xor eax, eax
mov ax, word [esi + 0x4c]
cmp ax, 0xffff
je 0x5cc994
xor ecx, ecx
mov cx, word [esi + 0x54]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.005cca27
xor eax, eax
mov ax, word [esi + 0x48]
cmp ax, 0xffff
je 0x5cc9b2
xor ecx, ecx
mov cx, word [esi + 0x54]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.005cca27
xor eax, eax
mov ax, word [esi + 0x4a]
cmp ax, 0xffff
je 0x5cc9d0
xor ecx, ecx
mov cx, word [esi + 0x54]
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.005cca27
test byte [edi + 7], 0x80
je 0x5cc9fa
movzx eax, word [esi + 8]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x10c]
mov ebx, dword [ebx + 0x104]
mov ax, word [ecx + eax*2]
mov word [ebx + edx*2], ax
mov ebx, dword [ebp - 0xc]
dec dword [ebx + 0x10c]
test byte [edi + 7], 0x40
je 0x5cca1e
movzx ecx, word [esi]
mov edx, dword [ebx + 0x78]
mov cx, word [edx + ecx*2]
mov edi, dword [ebx + 0x104]
lea eax, [ebx + 0x10c]
mov esi, dword [eax]
mov word [edi + esi*2], cx
dec dword [eax]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8