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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x78], 0
jne 0x740dec
test ebx, ebx
jne 0x740df6
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x180
mov dword [esp + 4], 0x8109
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00783725
mov dword [esp + 0x38], eax
test eax, eax
jns 0x740dfe
call 0x912018
mov eax, dword [eax]
mov dword [esp], eax
call 0x912020
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6da5f0
mov dword [esp + 8], 0x6da780
mov dword [esp + 4], 0x2000
mov dword [esp], 4
call fcn.0077d2e6
jmp 0x740dfe
mov dword [esp + 0x38], 0xffffffff
jmp 0x740dfe
mov dword [esp + 0x38], 0xffffffff
call fcn.00787f69
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x740fd5
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
and ebx, 1
lea eax, [ebx*8]
mov byte [esp + 0x3f], al
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x20]
xor eax, dword [esi + 0x28]
xor eax, dword [esi + 0x2c]
xor eax, dword [esi + 0x30]
xor eax, dword [esi + 0x34]
xor eax, dword [esi + 0x38]
xor eax, dword [esi + 0x3c]
mov dword [esi + 4], eax
mov ecx, dword [ebp]
test ecx, ecx
je 0x740ee2
mov edx, 0
div dword [ebp + 4]
lea ebx, [ecx + edx*4]
mov eax, dword [ebx]
test eax, eax
je 0x740e9e
lea edi, [esi + 0x20]
mov dword [esp + 8], 0x20
mov dword [esp + 4], edi
add eax, 0x20
mov dword [esp], eax
call fcn.0078e9b4
test eax, eax
jne 0x740e9e
mov ebx, dword [ebx]
mov eax, dword [ebx]
test eax, eax
jne 0x740e7b
test ebx, ebx
je 0x740ee2
mov eax, dword [ebx]
test eax, eax
je 0x740ee2
mov edx, dword [esi + 8]
cmp dword [eax + 8], edx
jge 0x740eb3
mov dword [eax + 8], edx
mov dword [esp + 8], 0xe2
mov dword [esp + 4], 0x6da17d
mov dword [esp], esi
call fcn.0073ffc0
cmp dword [esp + 0x78], 0
je 0x740fc3
mov eax, dword [esp + 0x30]
add dword [ebp + 0x24], eax
jmp 0x740fc3
cmp dword [esp + 0x38], 0
js 0x740f2b
lea ecx, [esp + 0x48]
mov edx, esi
mov eax, dword [esp + 0x38]
call fcn.0073f939
mov dword [esp + 0x30], eax
test eax, eax
jns 0x740f16
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00783c50
mov dword [esp + 0x38], 0xffffffff
jmp 0x740f3d
mov al, byte [esi + 0xc]
and eax, 0xfffffff8
or eax, 2
mov byte [esi + 0xc], al
mov eax, dword [esp + 0x30]
add dword [ebp + 0x20], eax
jmp 0x740f3d
mov dl, byte [esp + 0x78]
and edx, 7
mov al, byte [esi + 0xc]
and eax, 0xfffffff8
or eax, edx
mov byte [esi + 0xc], al
mov al, byte [esi + 0xc]
and eax, 0xfffffff7
or al, byte [esp + 0x3f]
mov byte [esi + 0xc], al
cmp dword [ebp], 0
je 0x740f58
mov edx, dword [ebp + 0xc]
cmp dword [ebp + 8], edx
jb 0x740f68
mov eax, dword [ebp + 8]
inc eax
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.0073fabc
inc dword [ebp + 8]
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x20]
xor eax, dword [esi + 0x28]
xor eax, dword [esi + 0x2c]
xor eax, dword [esi + 0x30]
xor eax, dword [esi + 0x34]
xor eax, dword [esi + 0x38]
xor eax, dword [esi + 0x3c]
mov dword [esi + 4], eax
mov edx, 0
div dword [ebp + 4]
lea eax, [edx*4]
add eax, dword [ebp]
mov edx, dword [eax]
mov dword [esi], edx
mov dword [eax], esi
or byte [esi + 0xc], 0x10
mov dword [esp + 4], esi
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00787fd7
inc dword [ebp + 0x30]
mov eax, dword [esi + 0x1c]
mov edx, 0
add dword [ebp + 0x28], eax
adc dword [ebp + 0x2c], edx
inc dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x28], edx
jne 0x740e38
cmp dword [esp + 0x38], 0
js 0x741031
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00783c3b
test eax, eax
jns 0x741031
call 0x912018
mov eax, dword [eax]
mov dword [esp], eax
call 0x912020
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6da618
mov dword [esp + 8], 0x6da780
mov dword [esp + 4], 0x2000
mov dword [esp], 4
call fcn.0077d2e6
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00787fcb
jmp 0x741075
call fcn.006f1a7d
test eax, eax
je 0x741066
cmp byte [eax + 1], 1
jne 0x741066
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 4]
test esi, esi
jle 0x741066
mov ebx, 0
mov edi, esi
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
call fcn.00731098
inc ebx
cmp ebx, edi
jne 0x741054
mov eax, dword [esp + 0x34]
cmp dword [eax + 4], 0
je 0x741075
call fcn.007338cd
mov eax, dword [esp + 0x34]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret