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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov eax, ebx
mov ecx, esi
mov dword [esp + 0x34], esi
call fcn.0045886f
test al, al
je 0x4dce8c
cmp dword [esi], 0
jne 0x4dce8c
push dword [ebx]
call fcn.004210a9
test al, al
je 0x4dce8c
mov eax, esi
lea edi, [esp + 0x60]
call fcn.004580e7
push ebx
lea eax, [esp + 0x78]
push eax
call fcn.0042189a
mov edi, ebx
lea esi, [esp + 0x40]
call fcn.00458179
lea esi, [esp + 0x50]
call fcn.004581c7
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
cmp eax, 2
mov dword [esp + 0x30], eax
mov esi, 0xff
jl 0x4dcd1c
lea ecx, [esp + 0x60]
call fcn.00421883
test al, al
je 0x4dce8c
lea ecx, [esp + 0x74]
call fcn.00421883
test al, al
je 0x4dce8c
lea ecx, [esp + 0x40]
call fcn.00421883
test al, al
je 0x4dce8c
lea ecx, [esp + 0x50]
call fcn.00421883
test al, al
je 0x4dce8c
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
add eax, dword [esp + 0x80]
mov edi, ebx
add ebx, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
cmp eax, 2
mov dword [esp + 0x68], ebx
jl 0x4dcc69
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x3c], ecx
neg ecx
lea eax, [eax + ecx*2]
mov dword [esp + 0x38], eax
mov ecx, dword [edi]
mov edx, ecx
shr edx, 0x10
movzx eax, ch
and edx, esi
and ecx, esi
push edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.004553ae
mov ecx, dword [esp + 0x20]
mov byte [ecx], al
mov ecx, dword [edi + 4]
mov edx, ecx
movzx eax, ch
add dword [esp + 0xc], eax
shr edx, 0x10
and edx, esi
add dword [esp + 0x14], edx
and ecx, esi
add dword [esp + 0x10], ecx
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.004553ae
mov ecx, dword [esp + 0x20]
mov byte [ecx + 1], al
mov ecx, dword [ebx]
mov edx, ecx
movzx eax, ch
add dword [esp + 0xc], eax
shr edx, 0x10
and edx, esi
add dword [esp + 0x14], edx
and ecx, esi
add dword [esp + 0x10], ecx
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.004553ae
mov ecx, dword [esp + 0x24]
mov byte [ecx], al
mov ecx, dword [ebx + 4]
mov edx, ecx
movzx eax, ch
add dword [esp + 0xc], eax
shr edx, 0x10
and edx, esi
add dword [esp + 0x14], edx
and ecx, esi
add dword [esp + 0x10], ecx
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.004553ae
push dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 2
mov byte [ecx + 1], al
pop ecx
call fcn.004553d0
push dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push 2
mov byte [ecx], al
pop ecx
call fcn.00455407
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x28]
inc dword [esp + 0x2c]
add dword [esp + 0x20], 2
add dword [esp + 0x24], 2
add edi, 8
add ebx, 8
dec dword [esp + 0x3c]
mov byte [ecx], al
jne 0x4dcb5b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4dcce9
mov ecx, dword [edi]
mov edx, ecx
shr edx, 0x10
movzx eax, ch
and edx, esi
and ecx, esi
push edx
mov dword [esp + 0x1c], ecx
mov edi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.004553ae
mov ecx, dword [esp + 0x20]
mov byte [ecx], al
mov ebx, dword [ebx]
mov edx, ebx
shr edx, 0x10
movzx eax, bh
add dword [esp + 0xc], eax
and edx, esi
and ebx, esi
add dword [esp + 0x10], ebx
push edx
mov ecx, ebx
add edi, edx
call fcn.004553ae
mov ecx, dword [esp + 0x24]
push dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov byte [ecx], al
xor ecx, ecx
push edi
inc ecx
call fcn.004553d0
mov ecx, dword [esp + 0x28]
push dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov byte [ecx], al
xor ecx, ecx
push edi
inc ecx
call fcn.00455407
mov ecx, dword [esp + 0x2c]
mov byte [ecx], al
mov eax, dword [esp + 0x6c]
add dword [esp + 0x68], eax
mov eax, dword [esp + 0x80]
add dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x30], 2
add dword [esp + 0x58], eax
cmp dword [esp + 0x30], 2
jge 0x4dcac1
cmp dword [esp + 0x30], 0
je 0x4dce8c
lea ecx, [esp + 0x60]
call fcn.00421883
test al, al
je 0x4dce8c
lea ecx, [esp + 0x74]
call fcn.00421883
test al, al
je 0x4dce8c
lea ecx, [esp + 0x40]
call fcn.00421883
test al, al
je 0x4dce8c
lea ecx, [esp + 0x50]
call fcn.00421883
test al, al
je 0x4dce8c
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
cmp eax, 2
jl 0x4dce41
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x3c], ecx
neg ecx
lea eax, [eax + ecx*2]
mov dword [esp + 0x38], eax
mov ecx, dword [edi]
mov edx, ecx
shr edx, 0x10
movzx eax, ch
and edx, esi
and ecx, esi
push edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.004553ae
mov byte [ebx], al
mov ecx, dword [edi + 4]
mov edx, ecx
movzx eax, ch
add dword [esp + 0xc], eax
shr edx, 0x10
and edx, esi
add dword [esp + 0x14], edx
and ecx, esi
add dword [esp + 0x10], ecx
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.004553ae
push dword [esp + 0x10]
mov edx, dword [esp + 0x10]
push dword [esp + 0x18]
xor ecx, ecx
inc ecx
mov byte [ebx + 1], al
call fcn.004553d0
mov ecx, dword [esp + 0x30]
push dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push dword [esp + 0x18]
mov byte [ecx], al
xor ecx, ecx
inc ecx
call fcn.00455407
inc dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x2c]
add edi, 8
inc ebx
inc ebx
dec dword [esp + 0x3c]
mov byte [ecx], al
jne 0x4dcda4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4dce8c
mov eax, dword [edi]
mov edi, eax
movzx edx, ah
and eax, esi
shr edi, 0x10
and edi, esi
mov esi, eax
push edi
mov ecx, esi
mov eax, edx
mov dword [esp + 0x20], edx
call fcn.004553ae
mov edx, dword [esp + 0x1c]
push esi
push edi
xor ecx, ecx
mov byte [ebx], al
call fcn.004553d0
mov ecx, dword [esp + 0x30]
push dword [esp + 0x1c]
mov byte [ecx], al
push edi
xor ecx, ecx
mov edx, esi
call fcn.00455407
mov ecx, dword [esp + 0x2c]
mov byte [ecx], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret