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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
cmp byte [edx + 0x2b], 1
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
mov dword [esp + 0x18], esi
jne 0x4d3a67
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0xfffffc19
mov eax, dword [ebp + 0x18]
mov dword [eax], 0xfffffc19
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x3c]
mov edi, 0xffff8000
test ecx, ecx
je 0x4d3a89
mov eax, dword [esi]
xor edi, edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4d3a89
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x4d3a81
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
test ebx, ebx
jns 0x4d3a9a
mov ebx, dword [esi + 0x28]
mov eax, ebx
inc ebx
cmp dword [ebp + 0x18], 0
je 0x4d3aac
mov esi, dword [ebp + 0x18]
mov dword [esi], eax
mov esi, dword [esp + 0x18]
test byte [edx + 0x1c], 0x80
jne 0x4d3ad4
cmp dword [ebp + 0x14], 0
je 0x4d3ac4
mov esi, dword [ebp + 0x14]
cmp byte [esi], 0
mov esi, dword [esp + 0x18]
je 0x4d3ad4
push dword [ebp + 8]
mov ecx, esi
push edx
push edi
mov edx, eax
call fcn.004cec30
jmp 0x4d3b05
cmp edi, 1
je 0x4d3b10
mov eax, dword [esi]
mov ecx, edi
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x4d3b0c
cmp dword [ebp + 8], 0x70
mov ecx, esi
push dword [edx]
sete al
movzx eax, al
push eax
push dword [edx + 0x14]
mov edx, edi
call fcn.004ba7c0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4d3b19
mov dword [eax], ebx
mov esi, dword [edx + 8]
xor eax, eax
mov dword [esp + 0x24], eax
test esi, esi
je 0x4d3c58
mov eax, dword [ebp + 0x14]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x38]
mov edx, ebx
and al, 3
mov dword [esp + 0x2c], edx
inc ebx
cmp al, 2
jne 0x4d3b59
mov eax, dword [esp + 0x14]
test byte [eax + 0x1c], 0x80
je 0x4d3b59
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4d3b55
mov dword [eax], edx
mov byte [ebp + 0xc], 0
cmp dword [ebp + 0x14], 0
je 0x4d3b6c
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x4d3c40
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x78], eax
jg 0x4d3b92
push edi
push dword [esp + 0x24]
push edx
mov edx, dword [ebp + 8]
call fcn.00491ae0
add esp, 0xc
jmp 0x4d3bd2
mov edx, dword [ebp + 8]
inc eax
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esp + 0x18]
mov edx, esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x2c], eax
call fcn.004c46e0
mov dword [esp + 0x28], eax
test eax, eax
je 0x4d3c1e
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4d3c08
push eax
mov edx, 0xfffffff7
call fcn.004925f0
add esp, 4
jmp 0x4d3c1e
mov eax, dword [edx + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x70]
mov edx, dword [esp + 0x28]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x74]
test eax, eax
jle 0x4d3c40
movzx edx, byte [ebp + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [esi + 0x14]
inc eax
inc dword [esp + 0x1c]
mov dword [esp + 0x24], eax
test esi, esi
jne 0x4d3b32
mov ecx, dword [esp + 0x18]
cmp ebx, dword [ecx + 0x28]
jle 0x4d3c64
mov dword [ecx + 0x28], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret