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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f418d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10135134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [edi]
or dword [ebx + 8], 1
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
test byte [ebx + 4], 1
je 0x100425d2
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x90]
cmp edx, 0x101398a8
jne 0x100425ef
push ecx
push eax
lea ecx, [ebx + 0x90]
call fcn.10043c20
jmp 0x10042608
cmp edx, ecx
je 0x10042608
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x100425fd
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, edx
push eax
call fcn.1000d570
xor esi, esi
cmp dword [edi + 0x34], esi
jle 0x10042638
lea eax, [ebx + 0x10]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov ecx, eax
call fcn.1003ad20
mov ecx, dword [edi + 0x14]
push eax
add ecx, ebx
call fcn.10042e10
mov eax, dword [ebp - 0x18]
inc esi
add ebx, 0x58
cmp esi, dword [edi + 0x34]
jl 0x10042617
mov ebx, dword [ebp + 8]
cmp dword [edi + 0x38], 0
mov dword [ebp - 0x14], 0
jle 0x1004278b
lea esi, [ebx + 0x60]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], esi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1004267a
mov edx, dword [esi + 4]
mov eax, dword [ecx]
cmp edx, eax
jge 0x10042675
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
jmp 0x100426f9
cmp eax, dword [esi + 8]
jne 0x1004268b
mov eax, dword [esi + 8]
mov ecx, esi
inc eax
push eax
call fcn.10071fc0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov ebx, dword [esi]
test ebx, ebx
jne 0x100426c5
push 0x18
call fcn.10027d67
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x100426ba
mov ecx, eax
call fcn.10081ef0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100426ec
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x100426ec
cmp dword [ebx + 0x40], 0
je 0x100426d9
push 0x18
push 0x10137878
mov ecx, ebx
call fcn.1002c3a0
push 0x18
mov ecx, ebx
call fcn.1002c110
push ebx
mov ecx, eax
call fcn.10081e40
mov ebx, eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov dword [eax + ecx*4 + 4], ebx
inc dword [esi + 4]
mov esi, dword [edi + 0x18]
add esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
mov ecx, dword [esi]
or dword [ebx + 8], 1
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
test byte [ebx + 4], 1
je 0x10042717
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x10]
cmp edx, 0x101398a8
jne 0x1004272e
push ecx
push eax
lea ecx, [ebx + 0x10]
call fcn.10043c20
jmp 0x10042747
cmp edx, ecx
je 0x10042747
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x1004273c
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, edx
push eax
call fcn.1000d570
mov esi, dword [esi + 0x18]
call fcn.100950c0
cmp esi, eax
je 0x10042774
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x18]
or dword [ebx + 8], 2
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x1004276e
mov ecx, ebx
call fcn.10094d00
mov ecx, dword [ebx + 0x14]
push esi
call fcn.10086f60
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 0x1c
inc eax
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x38]
jl 0x10042656
xor esi, esi
cmp dword [edi + 0x3c], esi
jle 0x100427be
mov eax, dword [ebp + 8]
add eax, 0x20
xor ebx, ebx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov ecx, eax
call fcn.1003ab60
mov ecx, dword [edi + 0x1c]
push eax
add ecx, ebx
call fcn.10042590
mov eax, dword [ebp - 0x1c]
inc esi
add ebx, 0x58
cmp esi, dword [edi + 0x3c]
jl 0x100427a0
xor esi, esi
cmp dword [edi + 0x40], esi
jle 0x100427ee
mov eax, dword [ebp + 8]
add eax, 0x30
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov ecx, eax
call fcn.1003ac40
mov ecx, dword [edi + 0x20]
push eax
add ecx, ebx
call fcn.10042ac0
mov eax, dword [ebp - 0x1c]
inc esi
add ebx, 0x30
cmp esi, dword [edi + 0x40]
jl 0x100427d0
cmp dword [edi + 0x44], 0
mov dword [ebp - 0x18], 0
jle 0x10042913
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x1004282b
mov edx, dword [ebx + 0x44]
mov eax, dword [ecx]
cmp edx, eax
jge 0x10042826
mov esi, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [ebx + 0x44], eax
jmp 0x100428b0
cmp eax, dword [ebx + 0x48]
jne 0x1004283d
mov eax, dword [ebx + 0x48]
lea ecx, [ebx + 0x40]
inc eax
push eax
call fcn.10071fc0
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov esi, dword [ebx + 0x40]
test esi, esi
jne 0x1004287c
push 0x1c
call fcn.10027d67
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10042871
mov ecx, eax
call fcn.10080b00
mov esi, eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100428a3
xor esi, esi
mov dword [ebp - 4], 0xffffffff
jmp 0x100428a3
cmp dword [esi + 0x40], 0
je 0x10042890
push 0x20
push 0x101378ac
mov ecx, esi
call fcn.1002c3a0
push 0x20
mov ecx, esi
call fcn.1002c110
push esi
mov ecx, eax
call fcn.10080a50
mov esi, eax
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x4c]
mov dword [eax + ecx*4 + 4], esi
inc dword [ebx + 0x44]
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax]
or dword [esi + 8], 2
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ecx + 4]
or dword [esi + 8], 4
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ecx + 8]
mov dword [ebp - 0x14], eax
call fcn.10094e40
cmp dword [ebp - 0x14], eax
je 0x100428ff
or dword [esi + 8], 1
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x100428f7
mov ecx, esi
call fcn.10094c30
mov ecx, dword [esi + 0x10]
push dword [ebp - 0x14]
call fcn.10086f60
mov edx, dword [ebp - 0x18]
add dword [ebp - 0x10], 0xc
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [edi + 0x44]
jl 0x10042807
xor esi, esi
cmp dword [edi + 0x48], esi
jle 0x10042943
mov eax, dword [ebp + 8]
add eax, 0x50
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov ecx, eax
call fcn.1003ad20
mov ecx, dword [edi + 0x28]
push eax
add ecx, ebx
call fcn.10042e10
mov eax, dword [ebp - 0x1c]
inc esi
add ebx, 0x58
cmp esi, dword [edi + 0x48]
jl 0x10042925
cmp dword [edi + 0x4c], 0
mov dword [ebp - 0x18], 0
jle 0x10042a2b
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x1004297b
mov edx, dword [esi + 0x74]
mov eax, dword [ecx]
cmp edx, eax
jge 0x10042976
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
jmp 0x10042a00
cmp eax, dword [esi + 0x78]
jne 0x1004298d
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x70]
inc eax
push eax
call fcn.10071fc0
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov ebx, dword [esi + 0x70]
test ebx, ebx
jne 0x100429cc
push 0x18
call fcn.10027d67
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x100429c1
mov ecx, eax
call fcn.10080c40
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100429f3
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x100429f3
cmp dword [ebx + 0x40], 0
je 0x100429e0
push 0x18
push 0x1013783c
mov ecx, ebx
call fcn.1002c3a0
push 0x18
mov ecx, ebx
call fcn.1002c110
push ebx
mov ecx, eax
call fcn.10080b90
mov ebx, eax
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x7c]
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x74]
mov eax, dword [edi + 0x2c]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*8]
or dword [ebx + 8], 1
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + edx*8 + 4]
inc edx
or dword [ebx + 8], 2
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x18], edx
cmp edx, dword [edi + 0x4c]
jl 0x10042957
xor ebx, ebx
cmp dword [edi + 0x50], ebx
jle 0x10042a6d
mov ecx, dword [ebp + 8]
sub ecx, 0xffffff80
mov dword [ebp - 0x1c], ecx
nop dword [eax + eax]
mov eax, dword [edi + 0x30]
mov esi, dword [eax + ebx*4]
call fcn.1003aac0
cmp eax, esi
je 0x10042a64
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x10042a59
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.1000d570
mov ecx, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [edi + 0x50]
jl 0x10042a40
mov esi, dword [edi + 0x10]
call fcn.10094fc0
cmp esi, eax
je 0x10042aa0
mov ebx, dword [ebp + 8]
mov esi, dword [edi + 0x10]
or dword [ebx + 8], 2
mov ecx, dword [ebx + 0x94]
test ecx, ecx
jne 0x10042a9a
mov ecx, ebx
call fcn.10094c00
mov ecx, dword [ebx + 0x94]
push esi
call fcn.10087240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4