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

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x5c
mov eax, dword [ecx + 0x10]
mov ebp, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
sub ebx, dword [ecx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x14]
mov esi, ebp
sub esi, dword [ecx + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00543760
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov ecx, edi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005526b0
mov eax, dword [edi + 0x5c]
sub esp, 0x10
test eax, eax
je 0x5449b5
or ebx, esi
je 0x5449b5
mov ecx, dword [edi + 0x60]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x544a12
mov esi, dword [eax]
mov ebx, dword [esp + 0x78]
add ebx, esi
sub ebx, dword [eax + 4]
mov dword [esp + 0x28], ebx
mov ebx, dword [eax + 8]
lea edx, [ebx + ebp]
sub edx, dword [eax + 0xc]
cmp byte [edi + 0x4c], 0xef
mov dword [esp + 0x24], edx
ja 0x544a20
mov edx, dword [esp + 0x70]
sub edx, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x30], edx
sub esi, ebx
mov dword [esp + 0x34], esi
mov esi, dword [eax + 0x10]
lea ebp, [eax + 0x20]
cmp ecx, 1
mov dword [esp + 0x2c], esi
mov esi, dword [eax + 0x14]
mov dword [esp + 0x20], esi
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
jle 0x544a40
mov eax, dword [edi + 0x54]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov eax, ebx
sub eax, edx
mov edi, eax
mov esi, eax
mov dword [esp + 0x3c], eax
shr edi, 0x1f
mov eax, edi
add eax, esi
sar eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x40], eax
shr eax, 0x1f
add eax, edi
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
add eax, ebx
sub eax, edx
mov dword [esp + 0x4c], eax
jmp 0x5448da
add ecx, dword [esp + 0x28]
mov esi, dword [ebp + 4]
cmp dword [esp + 0x20], esi
jg 0x54491d
add esi, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
cmp dword [esp + 0x18], ebx
jg 0x54494b
add ebx, dword [esp + 0x24]
add ebp, 0x10
mov eax, dword [ebp - 4]
cmp dword [esp + 0x18], eax
jg 0x544986
add eax, dword [esp + 0x24]
sub eax, ebx
sub esi, ecx
add ebx, dword [esp + 0x34]
add ecx, dword [esp + 0x30]
mov edx, dword [edi]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov ecx, edi
call dword [edx + 0x10]
sub esp, 0x10
sub dword [esp + 0x38], 1
je 0x544a12
add dword [esp + 0x14], 4
mov ecx, dword [ebp]
cmp dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov edi, dword [eax - 4]
jle 0x544870
mov esi, dword [esp + 0x2c]
cmp esi, ecx
jge 0x544874
mov eax, ecx
sub eax, esi
imul eax, dword [esp + 0x4c]
add eax, dword [esp + 0x44]
cdq
idiv dword [esp + 0x3c]
lea ecx, [esi + eax]
mov esi, dword [ebp + 4]
cmp dword [esp + 0x20], esi
jle 0x544881
mov ebx, dword [esp + 0x2c]
cmp ebx, esi
jge 0x544885
mov eax, esi
sub eax, ebx
imul eax, dword [esp + 0x4c]
add eax, dword [esp + 0x44]
cdq
idiv dword [esp + 0x3c]
lea esi, [ebx + eax]
mov ebx, dword [ebp + 8]
cmp dword [esp + 0x18], ebx
jle 0x544892
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jge 0x544896
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x18]
sub ebx, edx
add ebp, 0x10
sub eax, edx
imul eax, ebx
add eax, dword [esp + 0x48]
cdq
idiv dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
lea ebx, [edx + eax]
mov eax, dword [ebp - 4]
cmp dword [esp + 0x18], eax
jle 0x5448a6
cmp dword [esp + 0x1c], eax
jge 0x5448aa
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x18]
sub edx, dword [esp + 0x1c]
sub eax, dword [esp + 0x1c]
imul eax, edx
add eax, dword [esp + 0x48]
cdq
idiv dword [esp + 0x40]
add eax, dword [esp + 0x1c]
jmp 0x5448aa
cmp byte [edi + 0x4c], 0xef
ja 0x544a12
mov ebx, dword [edi + 0x60]
cmp ebx, 1
jle 0x544a35
mov esi, dword [edi + 0x54]
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x18]
mov ebp, eax
nop
lea esi, [esi]
add esi, 4
mov ecx, dword [esi - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [ecx + 0x18]
mov dword [esp + 8], edx
mov edx, dword [ecx + 0x14]
add edx, ebp
mov dword [esp + 4], edx
mov edx, dword [ecx + 0x10]
add edx, edi
mov dword [esp], edx
call dword [eax + 0x10]
sub esp, 0x10
sub ebx, 1
jne 0x5449e0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
jmp 0x5447f1
test ebx, ebx
lea esi, [edi + 0x54]
jne 0x5449c6
jmp 0x544a12
lea eax, [edi + 0x54]
mov dword [esp + 0x14], eax
jmp 0x544820