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

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
push ebx
push ebp
lea esp, [esp - 0x5c]
mov ebp, eax
mov esi, dword [esp + 0x7c]
mov ebx, esi
sar ebx, 1
mov eax, ebx
shl eax, 2
mov dword [esp + 0x58], ecx
add ecx, eax
mov dword [esp + 0x54], edx
add edx, eax
mov edi, dword [esp + 0x80]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
test byte [esp + 0x7c], 1
je 0x100727fd
mov eax, esi
lea ecx, [ebx*8]
sub eax, ebx
add ecx, ebp
mov dword [esp + 0x28], eax
mov edx, ebp
shl eax, 2
mov dword [esp + 0x24], ecx
add edx, eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x54]
mov eax, dword [ecx + eax - 4]
test eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov eax, ecx
je 0x100724f8
mov dword [esp + 0x34], 0xffffffff
jmp 0x1007257a
mov dword [esp + 0x14], ebx
lea edx, [ebx - 1]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + edx*4]
mov ecx, dword [ebx + edx*4]
mov dword [esp + 0x18], ecx
cmp eax, dword [ebx + edx*4]
mov ebx, dword [esp + 0x14]
jne 0x1007254f
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ebp
mov edx, ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
test ecx, ecx
je 0x10072543
lea ecx, [ecx - 1]
mov eax, dword [ebp + ecx*4]
mov edx, dword [esi + ecx*4]
cmp eax, dword [esi + ecx*4]
je 0x10072530
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov eax, edx
mov ecx, dword [esp + 0x54]
cmovb ecx, edx
mov edx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov ecx, 0
cmovae ecx, edx
cmovb eax, dword [esp + 0x54]
mov dword [esp + 0x34], ecx
push ebx
mov edx, dword [esp + 0x40]
push edx
push eax
push ebp
call fcn.100cc010
lea esp, [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
sub edx, eax
mov dword [ecx - 4], edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [eax + ecx - 4]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x100725c3
mov dword [esp + 0x1c], 0xffffffff
jmp 0x10072649
mov dword [esp + 0x14], ebx
lea edx, [ebx - 1]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + edx*4]
mov ecx, dword [ebx + edx*4]
mov dword [esp + 0x18], ecx
cmp eax, dword [ebx + edx*4]
mov ebx, dword [esp + 0x14]
jne 0x1007261e
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ebp
mov edx, ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x58]
test ecx, ecx
je 0x10072612
lea ecx, [ecx - 1]
mov eax, dword [ebp + ecx*4]
mov edx, dword [esi + ecx*4]
cmp eax, dword [esi + ecx*4]
je 0x100725ff
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov edx, eax
mov ecx, dword [esp + 0x58]
cmovb ecx, eax
mov eax, 0
mov dword [esp + 0x44], ecx
mov ecx, 0xffffffff
cmovb ecx, eax
cmovb edx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
push ebx
mov eax, dword [esp + 0x48]
push eax
push edx
mov edx, dword [esp + 0x3c]
push edx
call fcn.100cc010
lea esp, [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x30]
cmp ebx, 0x11
mov dword [eax + ecx - 4], edx
jl 0x100729f7
lea eax, [esi*4]
mov dword [esp + 0x18], eax
lea edx, [eax + edi]
mov eax, dword [esp + 0x28]
add edx, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov eax, edi
mov dword [esp + 0x10], edx
mov edx, ebp
mov ecx, dword [esp + 0x30]
call 0x1007246c
mov dword [esp + 0xc], ebx
mov eax, ebp
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
call 0x1007246c
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call 0x1007246c
mov eax, dword [esp + 0x1c]
lea edx, [esi - 1]
cmp eax, dword [esp + 0x34]
je 0x10072748
push edx
push edi
mov eax, dword [esp + 0x2c]
push eax
push ebp
push edi
call fcn.100d2330
lea esp, [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ebx, dword [edi + esi*4]
mov edx, dword [ebp + ecx - 4]
add edx, dword [edi + ecx - 4]
add ebx, dword [ebp + ecx]
xor ebp, ebp
cmp edx, dword [edi + ecx - 4]
adc ebp, 0
add eax, edx
add ebx, ebp
cmp eax, edx
mov dword [edi + esi*4], ebx
mov dword [edi + ecx - 4], edx
mov edx, 0
adc edx, 0
add dword [edi + esi*4], edx
mov dword [edi + ecx - 4], eax
mov ebp, dword [esp + 0x2c]
jmp 0x100727b7
push edx
push edi
mov eax, dword [esp + 0x2c]
push eax
push ebp
push edi
call fcn.100d2390
lea esp, [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c], ebp
mov ebp, dword [ecx + ebx - 4]
mov edx, dword [edi + ebx - 4]
neg edx
cmp ebp, dword [edi + ebx - 4]
mov ebp, 0
adc ebp, 0
add edx, dword [ecx + ebx - 4]
mov ecx, dword [ecx + ebx]
sub ecx, dword [edi + esi*4]
sub ecx, ebp
mov dword [edi + esi*4], ecx
cmp eax, 0xffffffff
mov dword [edi + ebx - 4], edx
mov ebp, dword [esp + 0x2c]
je 0x100729db
cmp eax, 1
jne 0x100727b7
mov ecx, ebx
lea eax, [edx + 1]
cmp eax, edx
mov edx, 0
adc edx, 0
add dword [edi + esi*4], edx
mov dword [edi + ecx - 4], eax
mov eax, dword [esp + 0x48]
inc esi
push esi
push edi
lea edx, [eax + ebp]
push edx
push edx
call fcn.100cbf90
lea esp, [esp + 0x10]
test eax, eax
je 0x100729d2
add ebp, dword [esp + 0x18]
add ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
add ebp, 4
mov dword [esp + 0x78], eax
dec edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], ebp
lea esp, [esp + 0x5c]
pop ebp
pop ebx
pop edi
pop esi
jmp fcn.100d23f0
lea edx, [esi*4]
mov dword [esp + 0x24], edx
lea ecx, [eax + ebp]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x54]
lea eax, [ebp + edx]
mov dword [esp + 0x14], eax
lea edx, [ebx - 1]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x50]
cmp eax, dword [ecx + edx*4]
jne 0x10072b06
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ebp
mov ecx, edx
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
test ecx, ecx
je 0x10072ae9
lea ecx, [ecx - 1]
mov eax, dword [esi + ecx*4]
mov edx, dword [ebp + ecx*4]
cmp eax, dword [ebp + ecx*4]
je 0x10072844
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
cmp eax, edx
mov edx, dword [esp + 0x28]
mov eax, 0
sbb eax, 0
mov dword [esp + 0x18], eax
mov eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x4c]
cmp eax, dword [ecx + edx*4]
jne 0x10072adb
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ebp
mov ecx, edx
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x58]
test ecx, ecx
je 0x10072aba
lea ecx, [ecx - 1]
mov eax, dword [esi + ecx*4]
mov edx, dword [ebp + ecx*4]
cmp eax, dword [ebp + ecx*4]
je 0x1007289c
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
cmp eax, edx
mov eax, 0
sbb eax, 0
mov dword [esp + 0x20], eax
cmp dword [esp + 0x18], 0
js 0x10072aa4
push ebx
mov eax, dword [esp + 0x54]
push eax
mov edx, dword [esp + 0x5c]
push edx
push ebp
call fcn.100cc010
lea esp, [esp + 0x10]
cmp dword [esp + 0x20], 0
js 0x10072a8a
push ebx
mov eax, dword [esp + 0x50]
push eax
mov edx, dword [esp + 0x60]
push edx
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100cc010
lea esp, [esp + 0x10]
cmp ebx, 0x11
jl 0x10072a48
mov eax, dword [esp + 0x24]
mov edx, ebp
add eax, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
call 0x1007246c
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, ebp
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
call 0x1007246c
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call 0x1007246c
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
je 0x10072988
push esi
push edi
mov eax, dword [esp + 0x1c]
push eax
push ebp
push edi
call fcn.100d2330
jmp 0x10072996
push esi
push edi
mov eax, dword [esp + 0x1c]
push eax
push ebp
push edi
call fcn.100d2390
lea esp, [esp + 0x14]
mov ebp, eax
push esi
push edi
mov eax, dword [esp + 0x24]
push eax
push eax
call fcn.100cbf90
lea esp, [esp + 0x10]
add eax, ebp
je 0x100729d2
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], edx
lea esp, [esp + 0x5c]
pop ebp
pop ebx
pop edi
pop esi
jmp fcn.100d23f0
lea esp, [esp + 0x5c]
pop ebp
pop ebx
pop edi
pop esi
ret
cmp edx, 1
lea eax, [edx - 1]
lea ecx, [ebx]
mov edx, 0
adc edx, 0
sub dword [edi + esi*4], edx
mov dword [edi + ecx - 4], eax
jmp 0x100727b7
mov edx, dword [esp + 0x28]
push edx
push eax
push edx
push ebp
push edi
call fcn.1005ab90
push ebx
mov eax, dword [esp + 0x70]
push eax
push ebx
mov edx, dword [esp + 0x74]
push edx
push ebp
call fcn.1005ab90
mov edx, dword [esp + 0x50]
push edx
mov eax, dword [esp + 0x78]
push eax
push edx
mov ecx, dword [esp + 0x84]
push ecx
mov ebx, dword [esp + 0x5c]
push ebx
call fcn.1005ab90
lea esp, [esp + 0x3c]
lea eax, [esi*4]
mov dword [esp + 0x18], eax
jmp 0x100726e3
push ebx
mov eax, dword [esp + 0x20]
push eax
push ebx
push ebp
push edi
call fcn.1005ab90
push ebx
mov eax, dword [esp + 0x70]
push eax
push ebx
mov edx, dword [esp + 0x74]
push edx
push ebp
call fcn.1005ab90
push ebx
mov eax, dword [esp + 0x78]
push eax
push ebx
mov edx, dword [esp + 0x84]
push edx
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.1005ab90
lea esp, [esp + 0x3c]
jmp 0x1007296e
push ebx
mov eax, dword [esp + 0x5c]
push eax
mov edx, dword [esp + 0x54]
push edx
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100cc010
jmp 0x1007290a
push ebx
mov eax, dword [esp + 0x58]
push eax
mov edx, dword [esp + 0x58]
push edx
push ebp
call fcn.100cc010
jmp 0x100728e6
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x58]
lea edx, [ecx]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x20]
mov eax, dword [eax + edx*4]
mov ebp, dword [esp + 0x2c]
mov edx, dword [ecx + edx*4]
jmp 0x100728bc
mov edx, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [edx + ecx*4]
jmp 0x100728bc
mov eax, dword [esp + 0x54]
lea edx, [ecx]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x20]
mov eax, dword [eax + edx*4]
mov ebp, dword [esp + 0x2c]
mov edx, dword [ecx + edx*4]
jmp 0x10072864
mov edx, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [edx + ecx*4]
jmp 0x10072864