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

Disassembly:
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
call fcn.004da330
test eax, eax
jne 0x4dd7d2
mov dword [esi + 0x14], edi
pop edi
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0xd0
ret 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, edx
mov ebp, dword [ecx + 0x38]
cdq
xor eax, edx
mov dword [esp + 0x60], ebp
sub eax, edx
mov edx, dword [ecx + 0x10]
inc eax
mov dword [esp + 0xbc], eax
mov eax, dword [ecx + 8]
sub eax, edx
cdq
mov esi, eax
mov eax, dword [ecx + 4]
xor esi, edx
sub ebp, eax
mov eax, dword [ecx + 0x44]
sub esi, edx
mov edx, dword [ecx + 0x10]
inc esi
sub eax, edx
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
mov dword [esp + 0xd0], esi
cdq
xor eax, edx
mov dword [esp + 0xcc], ebp
sub eax, edx
mov edx, dword [esp + 0x88]
lea eax, [eax + edx + 1]
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc0], eax
mov eax, dword [ecx + 0x40]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x18]
lea ecx, [eax + ebp + 1]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xd8], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4dd932
mov eax, dword [ecx]
test eax, eax
je 0x4dd932
cmp eax, 0x4d0bb0
jne 0x4dd89d
mov ebp, dword [ecx + 4]
xor edx, edx
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 4]
div dword [ebp + 8]
cmp eax, 1
jb 0x4dd8a5
mov ebp, eax
jmp 0x4dd8aa
mov ebp, dword [ecx + 8]
cmp ebp, 1
jae 0x4dd8aa
mov ebp, 1
mov edx, dword [ecx]
mov eax, esi
mov dword [esp + 0xb4], edx
xor edx, edx
div ebp
mov ecx, dword [ecx + 4]
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xac], esi
mov dword [esp + 0xa4], 0
test eax, eax
mov dword [esp + 0xa8], eax
ja 0x4dd8fd
mov dword [esp + 0xa8], 1
mov eax, dword [esp + 0xa8]
mov edx, eax
imul edx, ebp
cmp edx, esi
jae 0x4dd913
mov eax, esi
sub eax, edx
mov dword [esp + 0x9c], eax
jmp 0x4dd91a
mov dword [esp + 0x9c], eax
push ecx
push esi
push 0
mov dword [esp + 0xac], eax
call dword [esp + 0xc0]
mov edx, dword [esp + 0x18]
jmp 0x4dd93d
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xe4]
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x78], eax
xor eax, eax
cmp esi, eax
mov dword [esp + 0x58], eax
jle 0x4ddfaf
test eax, eax
jne 0x4dd994
mov edx, dword [esp + 0xf0]
mov ecx, ebp
mov edi, ebp
mov ebx, ebp
mov dword [esp + 0x30], ebp
add ebp, edx
mov dword [esp + 0x34], ebp
add ebp, edx
mov dword [esp + 0x3c], ebp
add ebp, edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x44], ebp
jmp 0x4dd9d4
mov edx, dword [esp + 0x34]
lea ecx, [esi - 4]
cmp eax, ecx
mov ecx, edi
mov edi, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x80], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x3c], edx
jg 0x4dd9cd
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0xf0]
add ebp, edx
mov edx, dword [esp + 0x4c]
test edx, edx
mov dword [esp + 0xd4], ebp
jle 0x4ddef9
sub ecx, edi
mov esi, dword [esp + 0x3c]
lea eax, [edi + edx]
lea ebp, [edi + edx*2]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x84], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x44]
sub edx, edi
sub ebx, edi
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x78]
sub ecx, edi
sub edx, edi
sub esi, edi
sub ebx, edi
mov dword [esp + 0xdc], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x60], ebx
jmp 0x4dda5b
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0xdc]
add ebx, edi
mov dword [esp + 0x94], ebx
xor ebx, ebx
mov bl, byte [edi + esi]
mov esi, ebx
xor ebx, ebx
mov bl, byte [edi]
add esi, ebx
xor ebx, ebx
mov bl, byte [edi + edx]
mov dword [esp + 0x10], esi
mov edx, ebx
xor ebx, ebx
mov bl, byte [edi + ecx]
xor ecx, ecx
add edx, ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x1c], edx
mov cl, byte [edi + ebx]
mov dword [esp + 0x5c], ecx
lea ebx, [edx + ecx*2]
shl ebx, 2
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x38]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x6c], ebx
mov edx, dword [ebx + edx*4]
mov ebx, dword [esp + 0x14]
add edx, dword [ebx + ecx*4]
xor ebx, ebx
lea edx, [edx + esi*4]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x38], edx
xor edx, edx
mov dl, byte [edi + esi]
mov esi, dword [esp + 0x84]
mov bl, byte [edi + esi]
mov esi, dword [esp + 0x38]
add edx, ebx
mov ebx, dword [esi + ecx*4]
mov esi, dword [esp + 0x1c]
add edx, ebx
mov ebx, dword [esp + 0x14]
add edx, dword [ebx + esi*4]
mov esi, dword [esp + 0x28]
mov ebx, esi
add ebx, edx
mov edx, dword [esp + 0x10]
lea edx, [ebx + edx*8]
mov ebx, dword [esp + 0x40]
add esi, ebx
add edx, ebx
add esi, ecx
add edx, ecx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x70]
xor ecx, ecx
mov ebx, dword [esp + 0x98]
mov cl, byte [esi + eax]
mov esi, ecx
xor ecx, ecx
mov cl, byte [eax]
add esi, ecx
xor ecx, ecx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x7c]
mov cl, byte [esi + eax]
mov esi, ecx
xor ecx, ecx
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x8c]
add esi, ecx
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov cl, byte [ebx + eax]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x64], ecx
mov esi, dword [ebx + esi*4]
mov ebx, dword [esp + 0x14]
add esi, dword [ebx + ecx*4]
mov ecx, dword [esp + 0x10]
xor ebx, ebx
lea ecx, [esi + ecx*4]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x24], ecx
add edx, ecx
xor ecx, ecx
mov cl, byte [esi + eax]
mov esi, dword [esp + 0x84]
mov bl, byte [esi + eax]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x64]
add ecx, ebx
mov ebx, dword [esi + eax*4]
mov esi, dword [esp + 0x1c]
add ecx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x14], eax
add ecx, dword [ebx + esi*4]
mov ebx, dword [esp + 0x20]
add ecx, ebx
mov ebx, dword [esp + 0x10]
lea ecx, [ecx + ebx*8]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
add ecx, ebx
mov ebx, dword [esp + 0x5c]
add ecx, ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x2c], ecx
lea ecx, [esi + eax*2]
mov eax, dword [esp + 0x84]
lea ecx, [ebx + ecx*4]
xor ebx, ebx
lea esi, [eax + ebp]
mov eax, dword [esp + 0x8c]
add eax, ebp
mov dword [esp + 0xc8], esi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x7c]
add eax, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
add eax, ebp
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
add eax, ebp
add ecx, ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ecx
mov bl, byte [eax]
mov eax, ebx
xor ebx, ebx
mov bl, byte [esi]
mov esi, dword [esp + 0x50]
add eax, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
xor eax, eax
mov al, byte [esi]
mov esi, eax
xor eax, eax
mov al, byte [ebp]
add esi, eax
xor eax, eax
mov al, byte [ecx]
xor ecx, ecx
mov cl, byte [ebx]
mov ebx, dword [esp + 0x68]
add eax, ecx
xor ecx, ecx
mov cl, byte [ebx]
lea ebx, [eax + ecx*2]
shl ebx, 2
mov dword [esp + 0x1c], ebx
add edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov edx, dword [ebx + 0x34]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x38]
mov ebx, dword [esp + 0x28]
add ebx, dword [edx + ecx*4]
lea edx, [ebx + esi*4]
mov ebx, dword [esp + 0x20]
add ebx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x3c]
mov edx, dword [edx + ecx*4]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x38]
mov ebx, dword [esp + 0x28]
add ebx, dword [edx + eax*4]
mov edx, dword [esp + 0x38]
add edx, ebx
mov ebx, dword [esp + 0x2c]
lea edx, [edx + esi*8]
add ebx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x10]
add ebx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
xor edx, edx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xbc]
test ebx, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
jle 0x4ddeb9
add ebx, 0xfffffffd
cmp edx, ebx
jge 0x4ddd8f
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x68]
add esi, eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
add esi, eax
add ecx, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x50]
add esi, eax
add edx, eax
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x6c]
add ebx, eax
add esi, eax
xor eax, eax
mov dword [esp + 0xc8], ecx
mov al, byte [ecx]
xor ecx, ecx
mov cl, byte [esi]
mov dword [esp + 0x5c], edx
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x38], eax
xor eax, eax
mov al, byte [edx]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x6c], esi
mov esi, eax
mov cl, byte [edx]
mov edx, dword [esp + 0x48]
add esi, ecx
xor eax, eax
mov al, byte [ebx]
xor ecx, ecx
mov cl, byte [edx]
mov edx, dword [esp + 0x68]
add eax, ecx
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x18]
lea edx, [eax + ecx*2]
shl edx, 2
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x38]
mov ebx, dword [ebx + 0x34]
mov ebx, dword [ebx + eax*4]
add ebx, dword [edx + ecx*4]
lea ebx, [ebx + esi*4]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + ecx*4]
add ebx, dword [edx + eax*4]
mov edx, dword [esp + 0x38]
add edx, ebx
mov ebx, dword [esp + 0x10]
lea edx, [edx + esi*8]
add ebx, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
add ebx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x2c]
add ebx, edx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x24]
add ebx, edx
mov edx, dword [esp + 0x54]
add edx, ecx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x88]
sar edx, 8
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
cmp edx, ebx
jl 0x4dde75
cmp edx, dword [esp + 0xc0]
jge 0x4dde75
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xcc]
cmp edx, ebx
jl 0x4dde79
cmp edx, dword [esp + 0xd8]
jge 0x4dde79
mov edx, dword [esp + 0x54]
cmp edx, 0xff
jle 0x4dde59
mov edx, dword [esp + 0x94]
mov byte [edx], 0xff
jmp 0x4dde6a
test edx, edx
setl bl
dec ebx
and ebx, edx
mov edx, dword [esp + 0x94]
mov byte [edx], bl
add edx, dword [esp + 0x4c]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xbc]
cmp edx, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
jl 0x4ddd00
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x60]
inc edi
inc eax
inc ebp
dec ecx
mov dword [esp + 0xc4], eax
mov dword [esp + 0x60], ecx
jne 0x4dda4c
mov esi, dword [esp + 0xd0]
mov ebp, dword [esp + 0xd4]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x88]
jl 0x4ddf1c
cmp eax, dword [esp + 0xc0]
jge 0x4ddf1c
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x78]
add edx, ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x4ddf84
mov ecx, dword [esp + 0x9c]
dec ecx
mov dword [esp + 0x9c], ecx
jne 0x4ddf84
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa8]
add eax, edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xac]
push edx
push ecx
push eax
mov dword [esp + 0xb0], eax
call dword [esp + 0xc0]
test eax, eax
je 0x4ddf92
mov eax, dword [esp + 0x58]
inc eax
cmp eax, esi
mov dword [esp + 0x58], eax
jge 0x4ddfc1
jmp 0x4dd95d
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword [edx + 0x14], 0
pop ebx
add esp, 0xd0
ret 0x10
pop edi
pop esi
mov dword [edx + 0x14], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0xd0
ret 0x10
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [eax + 0x14], 0
xor eax, eax
pop ebx
add esp, 0xd0
ret 0x10