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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 8
push edi
mov eax, dword [esi]
lea edi, [esi + 0x100ac]
mov dword [ebp - 0x40], edi
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1474], 2
sete al
mov byte [esi + 0xa5], al
nop dword [eax + eax]
mov eax, dword [edi]
test eax, eax
je 0x103f2eb4
mov ecx, dword [esi]
push eax
call fcn.102eb830
mov dword [edi], 0
add edi, 4
sub ebx, 1
jne 0x103f2ea0
lea eax, [esi + 0x100d4]
mov ebx, 0x10
mov dword [ebp - 0x54], eax
mov edi, eax
nop dword [eax]
cmp byte [esi + 0xa4], 0
je 0x103f2eef
mov eax, dword [edi - 4]
test eax, eax
je 0x103f2eef
mov ecx, dword [esi]
push eax
call fcn.102eb890
mov dword [edi - 4], 0
mov eax, dword [edi]
test eax, eax
je 0x103f2f03
mov ecx, dword [esi]
push eax
call fcn.102eb890
mov dword [edi], 0
mov ecx, dword [esi + 8]
lea eax, [edi - 8]
push eax
call fcn.103e5540
add edi, 0x24
sub ebx, 1
jne 0x103f2ed0
mov eax, dword [esi + 0x100a8]
mov ecx, dword [esi]
test eax, eax
je 0x103f2f31
push eax
call fcn.102eb890
mov ecx, dword [esi]
mov dword [esi + 0x100a8], ebx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x103f2f45
push eax
call fcn.1033bb80
mov dword [esi + 0xc], 0
lea eax, [esi + 0x10f6c]
mov ebx, 0x40
mov dword [ebp - 0x50], eax
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x103f2f6c
push eax
call fcn.10434337
add esp, 4
mov dword [edi + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x103f2f81
push eax
call fcn.10434337
add esp, 4
mov dword [edi], 0
add edi, 0x20
sub ebx, 1
jne 0x103f2f55
mov ecx, dword [esi + 8]
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x26c]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x270]
mov dword [esi + 0x48], eax
mov eax, dword [ecx + 0x274]
mov dword [esi + 0x4c], eax
mov eax, dword [ecx + 0x278]
mov dword [esi + 0x50], eax
mov eax, dword [ecx + 0x27c]
mov dword [esi + 0x54], eax
mov edx, dword [ecx + 0x280]
mov dword [esi + 0x14], edx
mov eax, dword [ecx + 0x26c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], 1
test edx, edx
jne 0x103f3003
mov edx, dword [ebp + 0xc]
lea ebx, [edi + 0x3f]
mov eax, ebx
mov dword [esi + 0x38], 2
sar eax, 6
mov ecx, 4
cmp eax, ecx
cmovg ecx, eax
lea eax, [edx + 0x3f]
mov dword [ebp - 0x4c], ecx
mov dword [esi + 0x3c], ecx
sar eax, 6
jmp 0x103f3072
mov ebx, dword [ebp + 0xc]
cmp edx, 1
jne 0x103f3014
mov dword [esi + 0x38], 2
jmp 0x103f303e
cmp edx, 2
je 0x103f3037
cmp edi, 0x1000
jg 0x103f3037
cmp ebx, 0x1000
jg 0x103f3037
cmp edx, 3
jne 0x103f303e
mov dword [esi + 0x38], 0
jmp 0x103f303e
mov dword [esi + 0x38], 1
mov ecx, dword [esi + 0x38]
lea eax, [edi - 1]
add ecx, 4
mov edx, 1
shl edx, cl
mov ebx, 4
add eax, edx
sar eax, cl
cmp eax, ebx
cmovg ebx, eax
mov eax, ebx
mov dword [ebp - 0x4c], ebx
mov dword [esi + 0x3c], eax
lea ebx, [edi + 0x3f]
mov eax, dword [ebp + 0xc]
dec eax
add eax, edx
mov edx, dword [ebp + 0xc]
sar eax, cl
mov ecx, 3
cmp eax, ecx
cmovg ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x40], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
imul ecx, eax
inc eax
shr eax, 1
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x48]
inc ecx
shr ecx, 1
imul ecx, eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x60], ecx
cmp eax, 1
jne 0x103f30b6
lea ebx, [edi + 0xf]
lea eax, [edx + 0xf]
sar ebx, 4
sar eax, 4
imul ebx, eax
jmp 0x103f30e2
cmp eax, 2
jne 0x103f30cc
lea ebx, [edi + 0x1f]
lea eax, [edx + 0x1f]
sar ebx, 5
sar eax, 5
imul ebx, eax
jmp 0x103f30e2
cmp eax, 3
jne 0x103f30df
lea eax, [edx + 0x3f]
sar ebx, 6
sar eax, 6
imul ebx, eax
jmp 0x103f30e2
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x44]
push 0x38
mov dword [esi + 0x44], eax
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.10425c00
mov eax, dword [esi]
add esp, 0xc
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x50]
mov ecx, dword [eax + 0x4c]
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x44]
test al, 8
jne 0x103f313e
test eax, 0x400
jne 0x103f313e
test ecx, ecx
js 0x103f313e
test edx, 0x20000000
jne 0x103f313e
test eax, 0x8000000
jne 0x103f313e
test ecx, 0x100
jne 0x103f313e
mov byte [ebp - 0x44], 0
test edi, 0x800000
je 0x103f3142
mov byte [ebp - 0x44], 1
mov eax, dword [ebp - 0x48]
push 0
push dword [ebp - 0x44]
shl eax, 4
push 1
push 1
push eax
mov eax, dword [ebp - 0x4c]
shl eax, 4
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.102fdd80
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [esi + 0xa4], al
test al, al
je 0x103f31e4
lea edi, [esi + 0x100d0]
mov dword [ebp - 0x48], 0x10
cmp dword [esi + 0x14], 0
jne 0x103f3198
push 0
push 0
push 0
push 0x40
push 0x200
jmp 0x103f31d2
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x103f31a5
mov eax, dword [esi + 0x44]
jmp 0x103f31ad
cmp eax, 2
jne 0x103f31db
mov eax, dword [esi + 0x60]
push 0
shl eax, 6
push 0
add eax, 0xff
mov dword [esi + 0x88], 0x200
push 0
and eax, 0xffffff00
push 0x40
add eax, 0x200
push eax
mov ecx, dword [esi]
call fcn.102eb2e0
mov dword [edi], eax
add edi, 0x24
sub dword [ebp - 0x48], 1
jne 0x103f3183
cmp dword [esi + 0x14], 0
je 0x103f3237
mov edi, 0x40
nop
mov eax, dword [esi + 0x44]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.10434352
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x44]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push 0
push eax
call fcn.10425c00
push ebx
call fcn.10434352
mov ecx, dword [ebp - 0x50]
push ebx
push 0
push eax
mov dword [ecx], eax
call fcn.10425c00
add dword [ebp - 0x50], 0x20
add esp, 0x20
sub edi, 1
jne 0x103f31f0
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x103f3273
mov dword [esi + 0x6c], 0
mov ebx, 0x800
mov dword [esi + 0x70], 0x200
mov dword [esi + 0x74], 0x300
mov dword [esi + 0x78], 0x400
mov dword [esi + 0x7c], 0x500
mov dword [esi + 0x80], 0x600
jmp 0x103f32af
cmp eax, 2
jne 0x103f32ac
mov dword [esi + 0x6c], 0
mov ebx, 0xa00
mov dword [esi + 0x70], 0x400
mov dword [esi + 0x74], 0x500
mov dword [esi + 0x78], 0x600
mov dword [esi + 0x7c], 0x700
mov dword [esi + 0x80], 0x800
jmp 0x103f32af
mov ebx, dword [ebp - 0x54]
cmp byte [esi + 0xa4], 0
jne 0x103f32ff
mov dword [esi + 0x84], ebx
cmp eax, 1
jne 0x103f32d7
lea eax, [ebx + 0x200]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x44]
shl eax, 6
jmp 0x103f32ee
cmp eax, 2
jne 0x103f32ff
lea eax, [ebx + 0x200]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x60]
shl eax, 7
add eax, 0xff
and eax, 0xffffff00
add eax, 0x200
add ebx, eax
mov dword [esi + 0xa0], ebx
xor edi, edi
mov ecx, dword [esi]
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.102eb570
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
test eax, eax
je 0x103f37d9
inc edi
add ecx, 4
mov dword [ebp - 0x40], ecx
cmp edi, 8
jb 0x103f3307
mov dword [ebp - 0x40], 0
lea edi, [esi + 0x100ec]
nop word [eax + eax]
mov ecx, dword [esi + 8]
lea eax, [edi - 0x20]
push ebx
push eax
call fcn.103e4ff0
test eax, eax
jne 0x103f37d9
mov dword [edi], eax
add edi, 0x24
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 0x10
jb 0x103f3340
mov ecx, dword [esi]
push 0
call fcn.1033bb60
mov dword [esi + 0xc], eax
test eax, eax
je 0x103f37d9
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1c]
test dword [eax + 0x44], 0x8000000
jne 0x103f33af
test dword [eax + 0x4c], 0x100
jne 0x103f33af
test dword [eax + 0x48], 0x800000
jne 0x103f33af
mov eax, dword [esi + 0x40]
mov ebx, dword [esi + 0x3c]
inc eax
imul eax, ebx
lea edx, [eax + eax*2]
shl edx, 6
jmp 0x103f33b8
mov ebx, dword [esi + 0x3c]
lea edx, [ebx + ebx*2]
shl edx, 7
mov ecx, dword [esi + 0x40]
add edx, 0xff
mov eax, ecx
and edx, 0xffffff00
inc ecx
imul eax, ebx
shr ecx, 1
inc ecx
mov dword [esi + 0x8c], edx
and ecx, 0xfffffffe
mov dword [esi + 0x98], edx
inc ecx
imul edi, eax, 0x187
lea eax, [ebx + 3]
and eax, 0xfffffffc
imul ecx, eax
mov eax, 1
push 0
push 0
add edi, 0x10ff
and edi, 0xffffff00
push 0
mov dword [esi + 0x94], edi
lea ecx, [ecx*4 + 0xff]
and ecx, 0xffffff00
add ecx, ecx
cmp dword [esi + 0x14], 0
mov dword [esi + 0x90], ecx
lea edx, [edx + ecx*8]
mov ecx, 0x40
cmovne eax, ecx
mov dword [esi + 0x9c], edx
mov ecx, dword [esi]
push eax
lea eax, [edx + edi]
push eax
call fcn.102eb2e0
mov dword [esi + 0x100a8], eax
test eax, eax
je 0x103f37d9
cmp dword [esi + 0x14], 0
je 0x103f3488
xor edi, edi
lea ebx, [esi + 0x100d4]
nop
mov ecx, dword [esi]
push 0
push 0
push 0
push 0x40
push dword [esi + 0x90]
call fcn.102eb2e0
mov dword [ebx], eax
test eax, eax
je 0x103f37d9
inc edi
add ebx, 0x24
cmp edi, 0x10
jb 0x103f3460
mov eax, dword [esi + 0x10]
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
cmp eax, 1
jne 0x103f35f5
mov ecx, esi
call fcn.103f2bb0
push 0x80
lea edi, [esi + 0x107cc]
push 0
push edi
call fcn.10425c00
mov eax, dword [edi + 4]
mov edx, 0xffff
mov ecx, dword [edi + 0x34]
and eax, 0xfddffe07
or dword [edi + 8], 0x8000001
or eax, 0x1dc0007
mov dword [edi + 4], eax
and ecx, 0xffe7ffff
or eax, 0xffffffff
mov dword [edi + 0x24], 0x40018
mov word [edi + 0x1a], ax
or ecx, 0x3ce2ffff
mov word [edi + 0x32], dx
mov eax, 0xfffc
mov dword [edi + 0x34], ecx
add esp, 0xc
mov word [edi + 0x38], ax
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1c]
test dword [eax + 0x44], 0x8000000
jne 0x103f352b
test dword [eax + 0x4c], 0x100
jne 0x103f352b
test dword [eax + 0x48], 0x800000
je 0x103f354e
mov eax, dword [edi + 0x38]
and eax, 0x888fffff
mov word [edi + 0x32], dx
or eax, 0x8880000
mov dword [edi + 0x34], ecx
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x3c]
and eax, 0xffffffe1
or eax, 0x21
mov dword [edi + 0x3c], eax
push 0xbe
lea eax, [esi + 0x1084e]
push 0
push eax
lea edi, [esi + 0x1084c]
call fcn.10425c00
add esp, 0xc
mov word [edi + 8], 0x302
mov byte [edi + 0xa], 2
lea edx, [edi + 0x30]
and dword [edi + 8], 0xfcffffff
mov ecx, 0x10b33a68
mov dword [edi], 0xaaff056b
mov dword [edi + 4], 0xfffaa
movzx eax, word [ecx - 0x20]
lea edx, [edx + 2]
mov word [edx - 0x22], ax
movzx eax, word [ecx]
add ecx, 2
mov word [edx - 2], ax
cmp ecx, 0x10b33a88
jl 0x103f3590
movzx eax, word [0x10b33a88]
lea ecx, [edi + 0x74]
mov word [edi + 0x50], ax
mov ebx, 0x10b33ad4
movzx eax, word [0x10b33aa8]
mov edx, 0x10b33ac8
mov word [edi + 0x52], ax
sub ebx, edi
movzx eax, word [edx]
lea ecx, [ecx + 2]
mov word [ecx - 0x22], ax
add edx, 2
movzx eax, word [ebx + ecx - 2]
mov word [ecx - 2], ax
cmp edx, 0x10b33ae8
jl 0x103f35d2
jmp 0x103f3754
cmp eax, 2
jne 0x103f3754
mov ecx, esi
call fcn.103f2950
xor eax, eax
mov dword [esi + 0x10e50], 0xffffffff
mov dword [esi + 0x10e4c], eax
mov dword [esi + 0x10e60], eax
mov eax, dword [esi + 0x10e64]
and eax, 0xc0000fff
mov dword [esi + 0x10e54], 0xffffffff
or eax, 0xfff
mov dword [esi + 0x10e58], 0xffffffff
mov dword [esi + 0x10e64], eax
mov eax, dword [esi + 0x10e6c]
and eax, 0xffff79ff
mov dword [esi + 0x10e5c], 0xffffffff
or eax, 0x179ff
mov dword [esi + 0x10e68], 0xf00f70f
mov dword [esi + 0x10e6c], eax
xor eax, eax
mov dword [esi + 0x10e70], eax
mov dword [esi + 0x10e74], eax
mov dword [esi + 0x10e78], eax
mov dword [esi + 0x10e7c], eax
mov dword [esi + 0x10e80], eax
mov dword [esi + 0x10e84], eax
mov dword [esi + 0x10e88], eax
mov word [esi + 0x10e8c], ax
mov dword [esi + 0x10e92], eax
mov eax, 0xffff
mov word [esi + 0x10e96], ax
mov eax, dword [esi + 0x10e98]
and eax, 0xfebaffff
or eax, 0x2baffff
mov dword [esi + 0x10e98], eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1c]
test dword [eax + 0x44], 0x8000000
jne 0x103f36ef
test dword [eax + 0x4c], 0x100
jne 0x103f36ef
test dword [eax + 0x48], 0x800000
je 0x103f3723
xor eax, eax
mov dword [esi + 0x10e96], eax
mov eax, dword [esi + 0x10e98]
and eax, 0x1ffffff
or eax, 0x28000000
mov dword [esi + 0x10e98], eax
mov eax, dword [esi + 0x10ea8]
and eax, 0x91111fff
or eax, 0x11111000
mov dword [esi + 0x10ea8], eax
and dword [esi + 0x10ed4], 0xfcffffff
mov eax, 0xffaa
mov dword [esi + 0x10ed2], 0xf0f000f
mov byte [esi + 0x10ed6], 0xf
mov dword [esi + 0x10ecc], 0xaaff056b
mov word [esi + 0x10ed0], ax
cmp byte [esi + 0xa4], 0
jne 0x103f37c4
lea eax, [esi + 0x100cc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov edi, dword [eax]
mov ecx, dword [esi + 4]
push 0
mov eax, dword [edi + 0x74]
mov edx, dword [ecx]
push dword [eax + 0x24]
push 0
push edi
call dword [edx + 0x30]
test eax, eax
jne 0x103f37c4
mov eax, dword [ebp - 0x40]
inc ebx
add eax, 0x24
mov dword [ebp - 0x40], eax
cmp ebx, 0x10
jb 0x103f3768
xor ebx, ebx
lea eax, [esi + 0x100d4]
mov edi, dword [eax]
test edi, edi
je 0x103f37b8
mov eax, dword [edi + 0x74]
mov ecx, dword [esi + 4]
push 0
push dword [eax + 0x24]
mov edx, dword [ecx]
push 0
push edi
call dword [edx + 0x30]
test eax, eax
jne 0x103f37c4
mov eax, dword [ebp - 0x54]
inc ebx
add eax, 0x24
mov dword [ebp - 0x54], eax
cmp ebx, 0x10
jb 0x103f3798
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 0xa
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8