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

Disassembly:
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [esp + 0xd0], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], edi
call fcn.004da330
test eax, eax
jne 0x4df1d7
mov dword [ebp + 0x14], edi
pop edi
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0xdc
ret 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, edx
mov esi, dword [ecx + 0x38]
cdq
xor eax, edx
mov dword [esp + 0x6c], esi
sub eax, edx
mov edx, dword [ecx + 0x10]
inc eax
mov dword [esp + 0xb8], eax
mov eax, dword [ecx + 8]
sub eax, edx
cdq
mov ebx, eax
mov eax, dword [ecx + 4]
xor ebx, edx
sub esi, eax
mov eax, dword [ecx + 0x44]
sub ebx, edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0xe8], esi
sub eax, edx
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
inc ebx
cdq
xor eax, edx
mov dword [esp + 0xe0], ebx
sub eax, edx
mov edx, dword [esp + 0x90]
lea eax, [eax + edx + 1]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xbc], eax
mov eax, dword [ecx + 0x40]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 0x10]
lea ecx, [eax + esi + 1]
mov esi, dword [ebp + 8]
mov dword [esp + 0xe4], ecx
mov ecx, dword [edx + 0xc]
test esi, esi
mov dword [esp + 0x38], ecx
je 0x4df333
mov eax, dword [esi]
test eax, eax
je 0x4df333
cmp eax, 0x4d0bb0
jne 0x4df29e
mov ecx, dword [esi + 4]
xor edx, edx
mov eax, dword [ecx + 0xc]
imul eax, dword [ecx + 4]
div dword [ecx + 8]
cmp eax, 1
jb 0x4df2a6
mov ecx, eax
jmp 0x4df2ab
mov ecx, dword [esi + 8]
cmp ecx, 1
jae 0x4df2ab
mov ecx, 1
mov eax, dword [esi]
xor edx, edx
mov dword [esp + 0xb0], eax
mov eax, ebx
div ecx
mov esi, dword [esi + 4]
mov dword [esp + 0xac], 1
mov dword [esp + 0xb4], esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa0], 0
test eax, eax
mov dword [esp + 0xa4], eax
ja 0x4df2fe
mov dword [esp + 0xa4], 1
mov eax, dword [esp + 0xa4]
mov edx, eax
imul edx, ecx
cmp edx, ebx
jae 0x4df314
mov eax, ebx
sub eax, edx
mov dword [esp + 0x98], eax
jmp 0x4df31b
mov dword [esp + 0x98], eax
push esi
push ebx
push 0
mov dword [esp + 0xa8], eax
call dword [esp + 0xbc]
mov ecx, dword [esp + 0x38]
jmp 0x4df33e
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0xf0]
mov esi, dword [esp + 0xf8]
xor eax, eax
mov dword [esp + 0x88], edx
cmp ebx, eax
mov dword [esp + 0x54], eax
jle 0x4dfa7a
test eax, eax
jne 0x4df390
mov eax, dword [esp + 0xfc]
mov edx, esi
mov edi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
add esi, eax
mov dword [esp + 0x30], esi
add esi, eax
mov dword [esp + 0x3c], esi
add esi, eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x58], esi
jmp 0x4df3cc
lea edx, [ebx - 4]
cmp eax, edx
mov eax, dword [esp + 0x40]
mov edx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x3c], eax
jg 0x4df3c5
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0xfc]
add esi, eax
test ecx, ecx
mov dword [esp + 0xdc], esi
jle 0x4df9c1
mov ebx, dword [esp + 0x34]
lea esi, [edi + ecx]
sub ebx, edi
sub edx, edi
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x40]
sub ebx, edi
mov eax, edi
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x30]
sub ebx, edi
lea ecx, [edi + ecx*2]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x3c]
sub ebx, edi
mov dword [esp + 0xd4], eax
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x58]
sub ebx, edi
mov dword [esp + 0xc8], esi
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x88]
sub ebx, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x6c], edi
jmp 0x4df466
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x80]
add ebx, eax
mov dword [esp + 0x64], ebx
xor ebx, ebx
mov bl, byte [edi + eax]
mov edi, ebx
xor ebx, ebx
mov bl, byte [edx + eax]
xor edx, edx
add edi, ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x8c]
mov dl, byte [edi + eax]
mov edi, edx
xor edx, edx
mov dl, byte [eax]
add edi, edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x1c], edx
xor edx, edx
mov dl, byte [ebx + eax]
mov ebx, dword [esp + 0x1c]
add ebx, edx
xor edx, edx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x78]
mov dl, byte [ebx + eax]
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 0x28]
mov dword [esp + 0x18], edx
add edx, eax
mov dword [esp + 0x60], ebx
mov ebx, dword [ebx + edi*4]
lea edx, [edi + edx*2]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x2c]
add ebx, dword [edx + eax*4]
mov edx, dword [esp + 0x10]
add edx, ebx
mov ebx, edx
mov edx, dword [esp + 0x18]
lea ebx, [ebx + edx*8]
mov dword [esp + 0x50], ebx
mov ebx, dword [ebp + 0x38]
mov dword [esp + 0x20], ebx
mov ebx, dword [ebp + 0x34]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + edx*4]
mov edx, dword [esp + 0x28]
add ebx, dword [edx + eax*4]
mov edx, dword [ebp + 0x2c]
mov ebp, dword [ebp + 0x3c]
mov eax, dword [edx + edi*4]
mov dword [esp + 0x4c], ebp
add ebx, eax
mov eax, dword [esp + 0x10]
lea ebx, [ebx + eax*2]
lea eax, [eax + edi*4]
mov edi, dword [esp + 0x18]
mov edi, dword [ebp + edi*4]
mov ebp, dword [esp + 0x20]
lea edi, [edi + eax*2]
mov eax, dword [esp + 0x14]
add edi, dword [ebp + eax*4]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
add edi, ebx
add ebx, ebp
add edi, ebp
mov ebp, dword [esp + 0x80]
add ebx, eax
add edi, eax
mov dword [esp + 0x24], ebx
xor ebx, ebx
mov bl, byte [esi + ebp]
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0x84]
xor ebx, ebx
mov dword [esp + 0xcc], ecx
mov bl, byte [esi + ebp]
mov ebp, dword [esp + 0x1c]
add ebp, ebx
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x8c]
mov bl, byte [esi + ebp]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [esi]
add ebp, ebx
xor ebx, ebx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x74]
mov bl, byte [esi + ebp]
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov bl, byte [esi + ebp]
mov ebp, dword [esp + 0x1c]
add ebp, ebx
xor ebx, ebx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x78]
mov bl, byte [esi + ebp]
mov esi, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], esi
mov ebp, dword [ebx + esi*4]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
add ebp, dword [esi + ebx*4]
mov ebx, dword [esp + 0x44]
mov esi, dword [edx + ebx*4]
add ebp, esi
mov esi, dword [esp + 0x10]
lea ebp, [ebp + esi*2]
lea esi, [esi + ebx*4]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x2c], ebp
add edi, ebp
mov ebp, dword [esp + 0x18]
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x20]
lea ebx, [ebx + esi*2]
mov esi, dword [esp + 0x14]
add ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x24]
add ebp, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x50]
add ebx, ebp
mov ebp, dword [esp + 0x60]
add ebx, eax
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebp + ebx*4]
add ebp, dword [edx + esi*4]
add eax, ebp
mov ebp, dword [esp + 0x18]
lea eax, [eax + ebp*8]
add ebp, esi
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebx + ebp*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
lea esi, [eax + ecx]
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc4], esi
lea ebp, [eax + ecx]
mov eax, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x8c]
add eax, ecx
xor ebx, ebx
mov bl, byte [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
mov esi, ebx
add eax, ecx
xor ebx, ebx
mov dword [esp + 0x44], eax
mov bl, byte [eax]
xor eax, eax
add esi, ebx
mov ebx, dword [esp + 0x5c]
mov al, byte [ebx]
xor ebx, ebx
mov bl, byte [ecx]
xor ecx, ecx
mov cl, byte [ebp]
mov ebp, dword [esp + 0x68]
add eax, ebx
xor ebx, ebx
mov bl, byte [ebp]
mov ebp, dword [esp + 0x70]
add ecx, ebx
xor ebx, ebx
mov bl, byte [ebp]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x18], ebx
mov ebp, dword [ebp + eax*4]
add ebp, dword [edx + ecx*4]
lea ebp, [ebp + ebx*8]
mov dword [esp + 0x60], ebp
add ebp, esi
add edi, ebp
mov ebp, dword [esp + 0x20]
mov ebx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x28]
add ebx, dword [ebp + ecx*4]
mov ebp, dword [edx + eax*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
lea edx, [ebx + esi*2]
mov ebx, dword [esp + 0x24]
add ebx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x4c]
lea edx, [esi + eax*4]
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0xd0]
lea ebx, [ebx + edx*2]
mov edx, dword [ebp + 0x38]
add ebx, dword [edx + ecx*4]
mov edx, dword [esp + 0x48]
add edx, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x2c]
add ebx, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
add edx, esi
add ebx, edx
mov edx, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xb8]
lea edx, [eax + edx*2]
mov dword [esp + 0x20], edx
xor edx, edx
test ebx, ebx
mov dword [esp + 0x28], edx
jle 0x4df96f
add ebx, 0xfffffffd
cmp edx, ebx
jge 0x4df81d
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
add esi, eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x1c]
add esi, eax
add ecx, eax
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x5c]
add esi, eax
add edx, eax
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x44]
add ebx, eax
add esi, eax
xor eax, eax
mov dword [esp + 0x44], esi
mov al, byte [ecx]
mov dword [esp + 0xc4], ecx
mov esi, eax
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp + 0xcc], edx
mov cl, byte [eax]
xor eax, eax
mov al, byte [edx]
mov edx, dword [esp + 0x5c]
add esi, ecx
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0x1c], ebx
add eax, ecx
xor ecx, ecx
mov cl, byte [ebx]
mov ebx, dword [esp + 0x68]
xor edx, edx
mov dl, byte [ebx]
mov ebx, dword [esp + 0x70]
add ecx, edx
xor edx, edx
mov dl, byte [ebx]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
mov ebx, dword [ebp + 0x28]
add edx, ecx
mov ebx, dword [ebx + eax*4]
lea edx, [eax + edx*2]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x2c]
add ebx, dword [edx + ecx*4]
mov edx, esi
add edx, ebx
mov ebx, edx
mov edx, dword [esp + 0x18]
lea ebx, [ebx + edx*8]
mov dword [esp + 0x50], ebx
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx + edx*4]
mov edx, dword [ebp + 0x2c]
add ebx, dword [edx + eax*4]
mov edx, dword [ebp + 0x34]
add ebx, dword [edx + ecx*4]
lea edx, [ebx + esi*2]
mov ebx, dword [ebp + 0x3c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
lea edx, [esi + eax*4]
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0xd0]
lea ebx, [ebx + edx*2]
mov edx, dword [ebp + 0x38]
add ebx, dword [edx + ecx*4]
mov edx, dword [esp + 0x10]
add edx, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x50]
add ebx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x48]
add ebx, edx
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
add ebx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x90]
add edi, edx
mov edx, dword [esp + 0x54]
sar edi, 8
cmp edx, ebx
jl 0x4df92b
mov ebx, dword [esp + 0xbc]
cmp edx, ebx
mov edx, dword [esp + 0x28]
jge 0x4df92f
cmp edx, dword [esp + 0xe8]
jl 0x4df92f
cmp edx, dword [esp + 0xe4]
jge 0x4df92f
cmp edi, 0xff
jle 0x4df913
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x64]
mov byte [edi], 0xff
mov edi, dword [esp + 0x38]
add ebx, edi
mov dword [esp + 0x64], ebx
jmp 0x4df92f
test edi, edi
setl bl
dec ebx
and ebx, edi
mov edi, dword [esp + 0x64]
mov byte [edi], bl
mov edi, dword [esp + 0x38]
add dword [esp + 0x64], edi
jmp 0x4df92f
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0xb8]
inc edx
cmp edx, ebx
mov dword [esp + 0x28], edx
jl 0x4df784
mov eax, dword [esp + 0xd4]
mov esi, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x6c]
inc eax
inc esi
inc ecx
dec edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x6c], edx
jne 0x4df458
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0xdc]
mov ebx, dword [esp + 0xe0]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x90]
cmp eax, edx
jl 0x4df9e7
cmp eax, dword [esp + 0xbc]
jge 0x4df9e7
mov edx, dword [esp + 0xf4]
add dword [esp + 0x88], edx
mov edx, dword [esp + 0xac]
test edx, edx
je 0x4dfa53
mov edx, dword [esp + 0x98]
dec edx
mov dword [esp + 0x98], edx
jne 0x4dfa53
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa8]
add eax, ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xb4]
push ecx
push edx
push eax
call dword [esp + 0xbc]
test eax, eax
je 0x4dfa61
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
inc eax
cmp eax, ebx
mov dword [esp + 0x54], eax
jge 0x4dfa8c
jmp 0x4df361
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xdc
ret 0x10
pop edi
mov dword [ebp + 0x14], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xdc
ret 0x10
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xdc
ret 0x10