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

Disassembly:
mov eax, 0x1006d81d
call fcn.10062ad8
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x18]
call fcn.1002c221
mov esi, dword [ebp + 8]
cmp eax, 2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
jne 0x1002d498
xor ebx, ebx
cmp edx, ebx
jne 0x1002d49a
lea eax, [esi + 0x130]
mov ecx, edi
push eax
call fcn.1002c66e
mov ecx, dword [edi + 0x18]
call fcn.1002c221
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
jmp 0x1002d49a
xor ebx, ebx
lea ecx, [ebp - 0x40]
call fcn.10005d8a
mov dword [ebp - 0x40], 0x10072c10
cmp dword [ebp - 0x14], 3
mov dword [ebp - 4], ebx
jne 0x1002d515
cmp dword [ebp - 0x10], ebx
jne 0x1002d515
push dword [ebp + 0x10]
lea eax, [ebp - 0x40]
lea ebx, [esi + 0x150]
mov ecx, edi
push dword [ebp + 0xc]
push eax
push ebx
push dword [esi + 0x144]
push dword [esi + 0x140]
call fcn.1002d0b3
test eax, eax
je 0x1002d4f4
mov dword [ebp - 0x40], 0x10072c10
mov dword [ebp - 4], 1
mov ebx, eax
jmp 0x1002d666
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
add dword [ebx], eax
adc dword [ebx + 4], ecx
mov ecx, dword [edi + 0x18]
call fcn.1002c221
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
xor ebx, ebx
push 8
lea ecx, [ebp - 0xb4]
call fcn.10009d99
mov dword [ebp - 0xb4], 0x100717e0
push 1
lea ecx, [ebp - 0xc8]
call fcn.10009d99
mov dword [ebp - 0xc8], 0x10072a7c
push 4
lea ecx, [ebp - 0x90]
call fcn.10009d99
mov dword [ebp - 0x90], 0x10071594
cmp dword [ebp - 0x14], 4
mov byte [ebp - 4], 4
jne 0x1002d5c2
cmp dword [ebp - 0x10], ebx
jne 0x1002d5c2
lea eax, [ebp - 0x90]
lea ebx, [esi + 0x148]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x14]
push eax
push esi
lea eax, [ebp - 0x40]
push ebx
push eax
mov ecx, edi
call fcn.1002cf13
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
add dword [ebx], eax
adc dword [ebx + 4], ecx
mov ecx, dword [edi + 0x18]
call fcn.1002c221
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
jmp 0x1002d619
cmp dword [esi + 0x44], ebx
mov dword [ebp + 8], ebx
jle 0x1002d61b
push 1
lea ecx, [esi + 0x50]
call fcn.1002535e
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp + 8]
mov ebx, dword [eax + ecx*4]
mov ecx, ebx
call fcn.10027d41
push edx
push eax
lea ecx, [ebp - 0xb4]
call fcn.10016413
mov al, byte [ebx + 0x54]
lea ecx, [ebp - 0xc8]
push eax
call fcn.10027ed3
push dword [ebx + 0x50]
lea ecx, [ebp - 0x90]
call fcn.1002535e
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x44]
jl 0x1002d5ca
xor ebx, ebx
lea ecx, [esi + 0x64]
call fcn.1000f1f8
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x10]
jne 0x1002d681
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.1000f1cf
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 2
call fcn.1000f1cf
and byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.1000f1cf
mov dword [ebp - 0x40], 0x10072c10
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.1000f1f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000f1cf
mov eax, ebx
jmp 0x1002db1b
cmp dword [ebp - 0x14], 5
jne 0x1002d68c
cmp dword [ebp - 0x10], ebx
je 0x1002d691
call fcn.1002c174
mov ecx, dword [edi + 0x18]
call fcn.1002c2bd
push eax
lea ecx, [esi + 0x64]
mov dword [ebp + 8], eax
call fcn.1000f249
mov eax, dword [ebp + 8]
cmp eax, ebx
jbe 0x1002d6dc
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0xe8]
call fcn.1002db5c
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 6
call fcn.1002e163
push dword [ebp - 0xd8]
mov byte [ebp - 4], 4
call fcn.1000f3a7
dec dword [ebp + 0x10]
pop ecx
jne 0x1002d6af
push ebx
lea ecx, [esi + 0x158]
push 9
call fcn.10016413
cmp dword [esi + 8], ebx
je 0x1002d6fd
push ebx
push 6
lea ecx, [esi + 0x158]
call fcn.10016413
cmp dword [ebp + 8], ebx
jbe 0x1002d718
cmp dword [ebp - 0x88], ebx
je 0x1002d718
push ebx
push 0xa
lea ecx, [esi + 0x158]
call fcn.10016413
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x54], 0x10072a7c
push dword [ebp + 8]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
call fcn.1002c015
push 1
mov eax, 0x10072a7c
pop ecx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 9
mov dword [ebp + 0x10], ebx
mov ecx, dword [edi + 0x18]
call fcn.1002c221
mov dword [ebp - 0x2c], eax
or eax, edx
mov dword [ebp - 0x28], edx
je 0x1002d9e0
mov ecx, dword [edi + 0x18]
call fcn.1002c221
mov ecx, dword [edi + 0x18]
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov eax, dword [ecx + 8]
mov dword [ebp - 0x10], eax
ja case.0x1002d7c0.22
jb 0x1002d7b1
cmp dword [ebp - 0x2c], 0x40000000
ja case.0x1002d7c0.22
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x1002d7c0.22
jmp dword [eax*4 + 0x1002db2c]
and byte [ebp - 0x94], 0
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x98]
push eax
push edi
mov byte [ebp - 4], 0xa
call fcn.1002c125
cmp dword [esi + 0x6c], 0
jle 0x1002d800
mov eax, dword [esi + 0x70]
mov ecx, dword [edi + 0x18]
mov eax, dword [eax + ebx*4]
add eax, 0x10
push eax
call fcn.1002c324
inc ebx
cmp ebx, dword [esi + 0x6c]
jl 0x1002d7e8
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.1002c061
jmp 0x1002d8bc
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xdc], 0x10072a7c
mov eax, dword [esi + 0x6c]
lea ecx, [ebp - 0xdc]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.1002cfe4
and byte [ebp - 0x9c], 0
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
push eax
push edi
mov byte [ebp - 4], 0xc
call fcn.1002c125
cmp dword [ebp + 8], 0
jbe 0x1002d89e
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp - 0xd0]
mov dword [ebp + 0xc], ecx
mov al, byte [eax + ebx]
test al, al
mov byte [ecx + 0x1f], al
je 0x1002d898
mov ecx, dword [edi + 0x18]
call fcn.1002c2da
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
inc ebx
cmp ebx, dword [ebp + 8]
jb 0x1002d871
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.1002c061
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 9
call fcn.1000f1cf
xor ebx, ebx
push dword [ebp - 0x28]
lea ecx, [esi + 0x158]
push dword [ebp - 0x2c]
call fcn.10016413
jmp 0x1002d9a9
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1002cf90
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
cmp eax, ebx
jbe 0x1002d8fc
mov edx, dword [ebp - 0x48]
cmp byte [edx + ecx], 0
je 0x1002d8f7
inc dword [ebp + 0x10]
inc ecx
cmp ecx, eax
jb 0x1002d8eb
push dword [ebp + 0x10]
lea eax, [ebp - 0x7c]
push eax
call fcn.1002c015
push dword [ebp + 0x10]
lea eax, [ebp - 0x68]
push eax
call fcn.1002c015
jmp 0x1002d8be
lea eax, [ebp - 0x7c]
jmp 0x1002d91e
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
push dword [ebp + 0x10]
call fcn.1002cf90
jmp 0x1002d8be
push dword [ebp + 8]
lea eax, [esi + 0xf0]
jmp 0x1002d952
push dword [ebp + 8]
lea eax, [esi + 0x78]
jmp 0x1002d952
push dword [ebp + 8]
lea eax, [esi + 0xa0]
jmp 0x1002d952
push dword [ebp + 8]
lea eax, [esi + 0xc8]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.1002d02f
jmp 0x1002d8be
cmp edx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
jb 0x1002d9a9
ja 0x1002d974
cmp dword [ebp - 0x24], ebx
jbe 0x1002d9a9
mov ecx, dword [edi + 0x18]
call fcn.1002c18c
test al, al
je 0x1002d985
call fcn.1002c174
add dword [ebp - 0x1c], 1
adc dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jb 0x1002d974
ja 0x1002d9a9
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], eax
jb 0x1002d974
jmp 0x1002d9a9
push edx
push dword [ebp - 0x24]
call fcn.1002c1e3
cmp byte [esi + 0x130], 0
ja 0x1002d9bf
cmp byte [esi + 0x131], 2
jbe 0x1002d76c
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jne 0x1002d9d6
cmp ebx, dword [ebp - 0x20]
je 0x1002d76c
call fcn.1002c174
jmp 0x1002d76c
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], ebx
jbe 0x1002da02
mov ecx, dword [ebp - 0x5c]
cmp byte [ecx + eax], 0
je 0x1002d9fc
inc dword [ebp - 0x18]
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x1002d9f0
xor edi, edi
cmp dword [ebp + 8], ebx
jbe 0x1002daa6
mov ecx, dword [ebp - 0x48]
mov eax, dword [esi + 0x70]
cmp byte [ecx + edi], 0
mov eax, dword [eax + edi*4]
sete cl
test cl, cl
mov byte [eax + 0x1c], cl
je 0x1002da63
and byte [eax + 0x1d], 0
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp + 0xc]
and byte [ebp + 0x10], 0
lea ecx, [ecx + edx*8]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov edx, dword [edx + ecx*4]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0xbc]
mov dl, byte [edx + ecx]
inc ecx
mov byte [eax + 0x1e], dl
mov dword [ebp + 0xc], ecx
jmp 0x1002da89
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x10]
cmp byte [edx + ecx], 0
sete dl
mov byte [eax + 0x1d], dl
mov edx, dword [ebp - 0x5c]
mov dl, byte [edx + ecx]
inc ecx
and byte [eax + 0x1e], 0
mov dword [eax], ebx
mov byte [ebp + 0x10], dl
mov dword [ebp - 0x10], ecx
mov dword [eax + 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x1002da9c
push dword [ebp + 0x10]
lea ecx, [esi + 0x118]
call fcn.10027ed3
inc edi
cmp edi, dword [ebp + 8]
jb 0x1002da0d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.1000f1cf
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.1000f1cf
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.1000f1cf
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.1000f1cf
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 2
call fcn.1000f1cf
and byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.1000f1cf
mov dword [ebp - 0x40], 0x10072c10
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xd
call fcn.1000f1f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000f1cf
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc