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

Disassembly:
mov eax, 0x74
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
push ebx
push ebp
mov ebx, dword [eax + 0x84]
xor ebp, ebp
mov dword [esp + 0x24], ecx
xor ecx, ecx
push esi
mov dword [esp + 0x24], ecx
test edx, edx
mov dword [esp + 0x20], ecx
mov esi, 0x100
push edi
mov ecx, 5
mov dword [esp + 0x10], esi
mov edi, 0xa
mov dword [esp + 0x30], esi
cmove ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
cmp edx, dword [eax + 0x4c]
jl 0x4d1894
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 2
mov eax, ecx
and eax, 0xfffffffc
cmp dword [ebx + 0x18], ebp
cmovl eax, ecx
mov dword [esp + 0x3c], eax
test dword [ebx + 0x14], eax
je 0x4d18bb
push dword [ebx + 4]
call fcn.004a4350
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, eax
jmp 0x4d18c1
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor eax, eax
mov dword [esp + 0x34], eax
cmp eax, ecx
jge 0x4d1b1f
push eax
push dword [ebx + 4]
call fcn.004a4500
mov edi, eax
add esp, 8
mov eax, 1
movzx ecx, byte [edi]
shl eax, cl
test dword [esp + 0x3c], eax
je 0x4d1a7f
cmp ecx, esi
je 0x4d1912
mov eax, dword [ebx]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edi + 2]
mov dword [esp + 0x18], 0x100
mov eax, dword [eax + 4]
movzx eax, byte [ecx + eax]
mov dword [esp + 0x20], eax
movzx esi, byte [edi + 1]
cmp esi, dword [esp + 0x30]
je 0x4d19b1
push 0
push 0x66fd1f
push ebp
mov dword [esp + 0x3c], esi
call fcn.004a5400
add esp, 0xc
mov dword [esp + 0x1c], 0
sub esi, 0
je 0x4d1969
sub esi, 1
jne 0x4d1a8d
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.004bb090
add esp, 4
push eax
call fcn.004ba630
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x4d197d
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.004bafb0
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 8
test esi, esi
js 0x4d1a94
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4d1a94
mov eax, dword [ebx]
mov dl, byte [edi + 2]
movzx ecx, dl
mov dword [esp + 0x18], 0x100
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
mov dword [esp + 0x20], eax
jmp 0x4d19d4
mov cl, byte [edi + 2]
mov dl, cl
test cl, cl
je 0x4d19d0
mov eax, dword [ebx]
movzx ecx, cl
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x20]
jb 0x4d1a7b
mov esi, dword [esp + 0x14]
movzx eax, dl
cmp eax, dword [esp + 0x18]
je 0x4d1a1f
mov edx, eax
mov ecx, esi
mov eax, dword [ebx]
mov dword [esp + 0x18], edx
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
mov edx, ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x4d1a27
push 0
push eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push eax
mov eax, ecx
push eax
push esi
push ebp
call fcn.004aeb50
add esp, 0x18
test eax, eax
je 0x4d1ad2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
cmp ecx, dword [edi + 8]
jne 0x4d1a7b
mov esi, dword [edi + 4]
sub ecx, 4
jb 0x4d1a45
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4d1a4e
add edx, 4
add esi, 4
sub ecx, 4
jae 0x4d1a34
cmp ecx, 0xfffffffc
je 0x4d1ad7
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4d1a7b
cmp ecx, 0xfffffffd
je 0x4d1ad7
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4d1a7b
cmp ecx, 0xfffffffe
je 0x4d1ad7
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x4d1a7b
cmp ecx, 0xffffffff
je 0x4d1ad7
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x4d1ad7
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc eax
jmp 0x4d18c3
mov esi, 0x85
jmp 0x4d1a99
mov esi, 0xc0100
call fcn.004a9920
push str.dane_i2d
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push esi
push 0xb
call fcn.004a9a30
add esp, 0x18
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005c7d0a
add esp, 0x74
ret
or esi, 0xffffffff
jmp 0x4d1b21
mov eax, dword [esp + 0x10]
add eax, 0xfffffffe
cmp eax, 1
ja 0x4d1aea
mov esi, 1
jmp 0x4d1af1
xor esi, esi
cmp dword [ebx + 0x18], esi
jge 0x4d1b21
mov eax, dword [esp + 0x90]
push 0
push 0x66fd1f
push dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0xc], edi
call fcn.004a5400
mov eax, dword [esp + 0x38]
push eax
mov dword [ebx + 0x10], eax
call fcn.004bb120
add esp, 0x10
jmp 0x4d1b21
xor esi, esi
push 0
push 0x66fd1f
push ebp
call fcn.004a5400
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x74
ret