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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2ffd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100f5074]
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 0x1002d572
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x90]
cmp edx, 0x100f91c0
jne 0x1002d58f
push ecx
push eax
lea ecx, [ebx + 0x90]
call fcn.1002ebc0
jmp 0x1002d5a8
cmp edx, ecx
je 0x1002d5a8
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x1002d59d
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, edx
push eax
call fcn.10007260
xor esi, esi
cmp dword [edi + 0x34], esi
jle 0x1002d5d8
lea eax, [ebx + 0x10]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov ecx, eax
call fcn.10025cc0
mov ecx, dword [edi + 0x14]
push eax
add ecx, ebx
call fcn.1002ddb0
mov eax, dword [ebp - 0x18]
inc esi
add ebx, 0x58
cmp esi, dword [edi + 0x34]
jl 0x1002d5b7
mov ebx, dword [ebp + 8]
cmp dword [edi + 0x38], 0
mov dword [ebp - 0x14], 0
jle 0x1002d72b
lea esi, [ebx + 0x60]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], esi
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1002d61a
mov edx, dword [esi + 4]
mov eax, dword [ecx]
cmp edx, eax
jge 0x1002d615
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 4], eax
jmp 0x1002d699
cmp eax, dword [esi + 8]
jne 0x1002d62b
mov eax, dword [esi + 8]
mov ecx, esi
inc eax
push eax
call fcn.100688a0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov ebx, dword [esi]
test ebx, ebx
jne 0x1002d665
push 0x18
call fcn.10010ebe
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x1002d65a
mov ecx, eax
call fcn.1006cee0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1002d68c
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x1002d68c
cmp dword [ebx + 0x40], 0
je 0x1002d679
push 0x18
push 0x100f7458
mov ecx, ebx
call fcn.10016fa0
push 0x18
mov ecx, ebx
call fcn.10016d10
push ebx
mov ecx, eax
call fcn.1006ce30
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 0x1002d6b7
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x10]
cmp edx, 0x100f91c0
jne 0x1002d6ce
push ecx
push eax
lea ecx, [ebx + 0x10]
call fcn.1002ebc0
jmp 0x1002d6e7
cmp edx, ecx
je 0x1002d6e7
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x1002d6dc
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, edx
push eax
call fcn.10007260
mov esi, dword [esi + 0x18]
call fcn.100800f0
cmp esi, eax
je 0x1002d714
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x18]
or dword [ebx + 8], 2
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x1002d70e
mov ecx, ebx
call fcn.1007fd30
mov ecx, dword [ebx + 0x14]
push esi
call fcn.10071f50
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 0x1002d5f6
xor esi, esi
cmp dword [edi + 0x3c], esi
jle 0x1002d75e
mov eax, dword [ebp + 8]
add eax, 0x20
xor ebx, ebx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov ecx, eax
call fcn.10025b00
mov ecx, dword [edi + 0x1c]
push eax
add ecx, ebx
call fcn.1002d530
mov eax, dword [ebp - 0x1c]
inc esi
add ebx, 0x58
cmp esi, dword [edi + 0x3c]
jl 0x1002d740
xor esi, esi
cmp dword [edi + 0x40], esi
jle 0x1002d78e
mov eax, dword [ebp + 8]
add eax, 0x30
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov ecx, eax
call fcn.10025be0
mov ecx, dword [edi + 0x20]
push eax
add ecx, ebx
call fcn.1002da60
mov eax, dword [ebp - 0x1c]
inc esi
add ebx, 0x30
cmp esi, dword [edi + 0x40]
jl 0x1002d770
cmp dword [edi + 0x44], 0
mov dword [ebp - 0x18], 0
jle 0x1002d8b3
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x1002d7cb
mov edx, dword [ebx + 0x44]
mov eax, dword [ecx]
cmp edx, eax
jge 0x1002d7c6
mov esi, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [ebx + 0x44], eax
jmp 0x1002d850
cmp eax, dword [ebx + 0x48]
jne 0x1002d7dd
mov eax, dword [ebx + 0x48]
lea ecx, [ebx + 0x40]
inc eax
push eax
call fcn.100688a0
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov esi, dword [ebx + 0x40]
test esi, esi
jne 0x1002d81c
push 0x1c
call fcn.10010ebe
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x1002d811
mov ecx, eax
call fcn.1006baf0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1002d843
xor esi, esi
mov dword [ebp - 4], 0xffffffff
jmp 0x1002d843
cmp dword [esi + 0x40], 0
je 0x1002d830
push 0x20
push 0x100f748c
mov ecx, esi
call fcn.10016fa0
push 0x20
mov ecx, esi
call fcn.10016d10
push esi
mov ecx, eax
call fcn.1006ba40
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.1007fe70
cmp dword [ebp - 0x14], eax
je 0x1002d89f
or dword [esi + 8], 1
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x1002d897
mov ecx, esi
call fcn.1007fc60
mov ecx, dword [esi + 0x10]
push dword [ebp - 0x14]
call fcn.10071f50
mov edx, dword [ebp - 0x18]
add dword [ebp - 0x10], 0xc
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [edi + 0x44]
jl 0x1002d7a7
xor esi, esi
cmp dword [edi + 0x48], esi
jle 0x1002d8e3
mov eax, dword [ebp + 8]
add eax, 0x50
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov ecx, eax
call fcn.10025cc0
mov ecx, dword [edi + 0x28]
push eax
add ecx, ebx
call fcn.1002ddb0
mov eax, dword [ebp - 0x1c]
inc esi
add ebx, 0x58
cmp esi, dword [edi + 0x48]
jl 0x1002d8c5
cmp dword [edi + 0x4c], 0
mov dword [ebp - 0x18], 0
jle 0x1002d9cb
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x1002d91b
mov edx, dword [esi + 0x74]
mov eax, dword [ecx]
cmp edx, eax
jge 0x1002d916
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
jmp 0x1002d9a0
cmp eax, dword [esi + 0x78]
jne 0x1002d92d
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x70]
inc eax
push eax
call fcn.100688a0
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov ebx, dword [esi + 0x70]
test ebx, ebx
jne 0x1002d96c
push 0x18
call fcn.10010ebe
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1002d961
mov ecx, eax
call fcn.1006bc30
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1002d993
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x1002d993
cmp dword [ebx + 0x40], 0
je 0x1002d980
push 0x18
push 0x100f741c
mov ecx, ebx
call fcn.10016fa0
push 0x18
mov ecx, ebx
call fcn.10016d10
push ebx
mov ecx, eax
call fcn.1006bb80
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 0x1002d8f7
xor ebx, ebx
cmp dword [edi + 0x50], ebx
jle 0x1002da0d
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.10025a60
cmp eax, esi
je 0x1002da04
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1002d9f9
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10007260
mov ecx, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [edi + 0x50]
jl 0x1002d9e0
mov esi, dword [edi + 0x10]
call fcn.1007fff0
cmp esi, eax
je 0x1002da40
mov ebx, dword [ebp + 8]
mov esi, dword [edi + 0x10]
or dword [ebx + 8], 2
mov ecx, dword [ebx + 0x94]
test ecx, ecx
jne 0x1002da3a
mov ecx, ebx
call fcn.1007fc30
mov ecx, dword [ebx + 0x94]
push esi
call fcn.10072230
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