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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [edx]
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [eax + 0x24]
mov edi, dword [edx + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 0x6c], ecx
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], eax
test edi, edi
jne 0x101004ce
push edi
push 1
push edi
mov edx, 0x101675d3
jmp 0x10100bf2
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov dword [esp + 0x28], eax
cmp eax, 5
je 0x1010054c
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x38]
push eax
push 0x100fd930
lea edx, [esp + 0x2c]
call fcn.100fd8d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10100a69
cmp dword [esp + 0x28], 2
je 0x1010053e
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x38]
push eax
push 0x100fd930
lea edx, [esp + 0x2c]
call fcn.100fd8d0
add esp, 8
mov esi, eax
test esi, esi
jne 0x10100a69
mov eax, dword [esp + 0x40]
jmp 0x1010055c
mov eax, dword [edi + 0x14]
xor esi, esi
mov dword [esp + 0x3c], 1
mov eax, dword [eax + 0x40]
lea edi, [eax + eax*2]
mov dword [esp + 0x68], eax
shl edi, 3
mov dword [esp + 0x28], edi
call fcn.100d8ee0
test eax, eax
jne 0x10100a64
push eax
push edi
call fcn.10027b10
mov edi, eax
add esp, 8
test edi, edi
je 0x10100a5d
push dword [esp + 0x28]
push 0
push edi
call fcn.1013ad10
mov dword [esp + 0x94], edi
xor edx, edx
mov edi, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x24], edx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
mov ecx, edi
mov dword [esp + 0x70], ecx
cmp dword [eax + 0x18], edx
jle 0x10100a69
mov edi, dword [edi + 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov eax, dword [edi]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
cmp eax, 5
je 0x10100662
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x70]
push eax
push 0x10100380
lea edx, [esp + 0x10]
call fcn.100fd8d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10100a69
cmp dword [esp + 0x14], 2
je 0x1010072c
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x70]
push eax
push 0x10100380
lea edx, [esp + 0x10]
call fcn.100fd8d0
add esp, 8
mov esi, eax
jmp 0x1010072c
lea eax, [esp + 0x64]
xorps xmm0, xmm0
push eax
push edx
mov edx, edi
movlpd qword [esp + 0x40], xmm0
call fcn.100e8910
mov esi, eax
add esp, 8
mov eax, dword [edi + 0x14]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x30], esi
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x10], ecx
test edi, edi
je 0x101006da
mov al, byte [edi]
test al, al
jns 0x101006be
lea edx, [esp + 0x60]
mov ecx, edi
call fcn.100de740
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x60]
add edi, edx
add eax, 0xfffffffe
mov dword [esp + 0x64], edi
cdq
mov dword [esp + 0x14], edx
jmp 0x101006e6
movzx eax, al
mov edx, 1
add edi, edx
mov dword [esp + 0x60], eax
add eax, 0xfffffffe
mov dword [esp + 0x64], edi
cdq
mov dword [esp + 0x14], edx
jmp 0x101006e6
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
test ecx, ecx
jle 0x1010072c
lea esi, [ecx - 1]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x88]
lea ecx, [edx + edx*2]
inc edx
lea ecx, [eax + ecx*8]
mov dword [esp + 0x78], edx
mov eax, esi
mov dword [ecx], edi
cdq
dec esi
sub dword [esp + 0x10], 1
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0xc], eax
jne 0x101006f1
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x10100a69
mov eax, dword [esp + 0x24]
inc eax
push eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
call fcn.10056cd0
push dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x18]
push dword [eax + 0xc]
call fcn.100568f0
add esp, 0x10
test edi, edi
jne 0x10100784
mov edi, dword [esp + 0xc]
push dword [esp + 8]
push dword [edi + 0xc]
call fcn.10056f20
add esp, 8
cmp eax, 5
jne 0x10100a64
jmp 0x10100907
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [eax + 0x24]
mov edx, dword [edi + 0x14]
call fcn.100e9c10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10100a69
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x30]
push dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
jne 0x101008e7
mov eax, dword [esp + 0x68]
xor esi, esi
mov dword [esp + 0x30], esi
mov edi, 0x7fffffff
test eax, eax
jle 0x10100a30
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], eax
cmp dword [ecx], 0
je 0x1010083f
mov eax, dword [ecx + 8]
sub eax, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
sbb esi, dword [ecx + 0x14]
mov dword [esp + 0x38], eax
mov eax, edi
cdq
cmp esi, edx
jg 0x10100837
jl 0x10100829
cmp dword [esp + 0x38], eax
jae 0x10100837
mov edi, dword [ecx + 8]
mov esi, ecx
sub edi, dword [ecx + 0x10]
mov dword [esp + 0x30], esi
jmp 0x1010083b
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
add ecx, 0x18
sub eax, 1
mov dword [esp + 0x10], eax
jne 0x10100805
test esi, esi
je 0x10100a30
mov ecx, dword [esi]
mov al, byte [ecx]
test al, 0xfe
jne 0x10100863
mov dword [esi], 0
jmp 0x10100890
test al, al
jns 0x10100878
lea edx, [esp + 0x34]
call fcn.100de740
mov ecx, eax
mov eax, dword [esp + 0x34]
jmp 0x10100884
movzx eax, al
mov ecx, 1
mov dword [esp + 0x34], eax
add dword [esi], ecx
add eax, 0xfffffffe
cdq
add dword [esi + 8], eax
adc dword [esi + 0xc], edx
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x50], edi
jge 0x10100925
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x30]
push dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
call eax
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x10100894
cmp eax, 0x65
je 0x10100a0b
test eax, eax
je 0x101007e3
mov edi, dword [esp + 0xc]
push dword [esp + 0x18]
xor esi, esi
cmp eax, 0x65
cmovne esi, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
test esi, esi
jne 0x10100a69
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov dword [esp + 0x24], edx
cmp edx, dword [eax + 0x18]
jge 0x10100a69
mov ecx, dword [esp + 0x70]
jmp 0x101005d2
test eax, eax
jne 0x101008d2
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub eax, ecx
sub esi, dword [esp + 0x88]
push eax
mov eax, 0x2aaaaaab
imul esi
push ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [esp + 0x30]
lea eax, [esp + 0xa8]
push str._d__d__d__d
push eax
push 0x40
call fcn.1002a8c0
lea esi, [esp + 0xb4]
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10100973
mov eax, dword [esp + 0x4c]
sub esi, ecx
add eax, esi
mov dword [esp + 0x38], eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jl 0x101009d6
cdq
mov ecx, eax
mov edi, edx
mov eax, esi
cdq
add ecx, eax
adc edi, edx
add ecx, 0x64
mov dword [esp + 0x5c], ecx
adc edi, 0
call fcn.100d8ee0
test eax, eax
jne 0x10100a4b
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
push edi
push eax
call fcn.10027f60
add esp, 8
test eax, eax
je 0x10100a4b
mov edi, eax
mov dword [esp + 0x2c], edi
jmp 0x101009da
mov edi, dword [esp + 0x2c]
push esi
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x54]
add eax, edi
push eax
call fcn.1013c1a0
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], 0
mov byte [eax + edi], 0
jmp 0x101007e3
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x28], 0
jne 0x101008e3
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov esi, 0x10b
jmp 0x10100a69
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
mov edi, dword [esp + 0x10]
add esp, 4
xor esi, esi
jmp 0x10100907
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
jmp 0x10100a64
mov dword [esp + 0x88], edi
mov esi, 7
mov edi, dword [esp + 0x88]
test edi, edi
je 0x10100ad2
cmp dword [0x10178a38], 0
je 0x10100ac2
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10100a90
push eax
call dword [0x10178a88]
add esp, 4
push edi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push edi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x10100ad2
push eax
call dword [0x10178a90]
jmp 0x10100acf
push dword [esp + 0x88]
call dword [0x10178a5c]
add esp, 4
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0xfc]
test edi, edi
je 0x10100b31
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10100b03
push ecx
call dword [0x10178a88]
mov eax, dword [esp + 0x38]
add esp, 4
mov edx, edi
mov ecx, eax
call fcn.10027de0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10100b21
push eax
call dword [0x10178a90]
add esp, 4
push dword [esp + 0x38]
call fcn.10054ee0
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [eax + 0xfc], 0
test esi, esi
je 0x10100bdd
push esi
push dword [esp + 0x70]
call fcn.10055b60
mov esi, dword [esp + 0x34]
add esp, 8
test esi, esi
je 0x10100bfa
cmp dword [0x10178a38], 0
je 0x10100bbf
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10100b78
push eax
call dword [0x10178a88]
add esp, 4
push esi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x10100bfa
push eax
call dword [0x10178a90]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1013942d
mov esp, ebp
pop ebp
ret
push esi
call dword [0x10178a5c]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1013942d
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
dec eax
mov ecx, dword [esp + 0x6c]
push fcn.10027d20
push 1
push eax
call fcn.10055560
add esp, 0xc
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.1013942d
mov esp, ebp
pop ebp
ret