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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
cmp eax, 0x28
jbe 0x5dc660
lea edx, [eax - 0x28]
add eax, 0x5c
mov dword [ebp - 0x2c], edx
mov ecx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov dword [esp], ecx
call sub.msvcrt.dll_malloc
mov ecx, 0x22
mov esi, eax
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x48]
mov eax, dword [ebx]
mov edx, dword [ebx + 0x2c]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x3c], eax
mov edi, dword [ebx + 0x30]
lea eax, [ebx + 0x30]
mov dword [esi + 0x48], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov dword [ecx + 8], edi
mov edi, dword [eax + 0xc]
mov dword [ecx + 0xc], edi
mov edi, dword [eax + 0x10]
mov dword [ecx + 0x10], edi
mov edi, dword [eax + 0x14]
mov dword [ecx + 0x14], edi
mov edi, dword [eax + 0x18]
mov dword [ecx + 0x18], edi
mov edi, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edi
mov edi, dword [eax + 0x20]
mov dword [ecx + 0x20], edi
mov edi, dword [eax + 0x24]
mov dword [esi + 0x48], 0x28
mov dword [ecx + 0x24], edi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x5dc647
mov edx, dword [ebx + 0x40]
cmp edx, 0x34363248
jne 0x5dc680
mov edx, dword [0xbd703c]
test edx, edx
je 0x5dc692
mov edx, dword [ebp - 0x1c]
add eax, 0x28
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esi + 0x74], edx
lea edx, [esi + 0x84]
mov dword [esp + 8], ecx
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esi + 0x74]
add edx, 0x84
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
add esp, 0x3c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x20], 0x84
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
jmp 0x5dc559
cmp edx, 0x31435641
je 0x5dc61b
cmp edx, 0x31637661
jne 0x5dc625
jmp 0x5dc61b
lea edx, [eax + 0x28]
movzx ecx, byte [edx + 1]
movzx ebx, byte [edx + 4]
mov dword [esi + 0x78], ecx
movzx ecx, byte [edx + 3]
and ebx, 3
add ebx, 1
movzx ebx, bl
mov dword [esi + 0x80], ebx
lea ebx, [esi + 0x84]
mov dword [esi + 0x7c], ecx
movzx ecx, byte [edx + 5]
and ecx, 0x1f
cmp ecx, 1
jg 0x5dc737
cmp byte [eax + 0x28], 1
jne 0x5dc737
lea edi, [eax + 0x2e]
movzx eax, byte [eax + 0x2e]
movzx edx, byte [edi + 1]
mov dword [esp + 4], edi
mov dword [esp], ebx
shl eax, 8
or edx, eax
add edx, 2
mov dword [esp + 8], edx
mov dword [ebp - 0x24], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x24]
add edi, edx
lea ecx, [ebx + edx]
lea edx, [edi + 1]
movzx edi, byte [edi + 1]
movzx eax, byte [edx + 1]
mov dword [esp + 4], edx
mov dword [esp], ecx
shl edi, 8
or eax, edi
lea edi, [eax + 2]
mov dword [ebp - 0x24], ecx
mov dword [esp + 8], edi
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x24]
add ecx, edi
sub ecx, ebx
lea edx, [ecx + 0x84]
mov dword [esi + 0x74], ecx
jmp 0x5dc650
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
jmp 0x5dc72f