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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10056fed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov byte [esp + 0x3c], dl
mov esi, ecx
je 0x1003460c
cmp byte [ebp + 0x28], 0
je 0x100340e1
mov edx, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov dword [edx], 0
cmp dword [edx], ebx
jge 0x10034650
mov esi, dword [ebp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x665683c8
inc dword [edx]
cmp dword [edx], ebx
jl 0x100340cb
jmp 0x10034650
mov eax, dword [ebp + 0x24]
xor ecx, ecx
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ecx
mov word [esp + 0x60], ax
mov dword [esp + 0xcc], ecx
xor ebx, ebx
mov dword [esp + 0x28], 0xb905d09e
inc ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x14], 9
mov dword [esp + 0x14], 0x615e82aa
mov dword [esp + 0x1c], 0x661fbc9f
mov dword [esp + 0x58], 0x7c2076ac
mov dword [esp + 0x34], 0x7c28cae2
mov dword [esp + 0x50], 0x3d62
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x2c], 0xee3b00b
push 2
mov dword [esp + 0x30], 0xcc414254
mov dword [esp + 0x14], ecx
pop edi
jmp 0x10034178
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x78], 0xd700698
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10034168
mov dword [esp + 0x10], ecx
jmp 0x10034194
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x54], 0x139a53aa
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jl 0x10034184
mov eax, dword [esp + 0x28]
xor edx, edx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x58]
cmp ecx, eax
mov eax, dword [esp + 0x2c]
setle dl
sub eax, 9
inc dword [esp + 0x2c]
cmp eax, edx
jl 0x100341c0
mov eax, ebx
jmp 0x100341c2
xor eax, eax
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x71bc7dcd
mov eax, dword [esp + 0x7c]
setle dl
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [esp + 0x34]
setg cl
cmp ebx, ecx
sbb ecx, ecx
neg ecx
imul eax, ecx
test eax, eax
jne 0x100341f6
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
inc dword [esp + 0x54]
cmp dword [ebp + 0x24], esi
ja 0x100342b2
push 3
pop esi
push esi
lea ecx, [esp + 0x90]
call fcn.100018bd
xor ecx, ecx
mov byte [esp + 0xcc], bl
mov dword [esp + 0x24], ecx
jmp 0x10034245
mov eax, dword [esp + 0x24]
mov dword [esp + eax*4 + 0xa0], ebx
inc dword [esp + 0x24]
cmp dword [esp + 0x24], esi
jl 0x10034236
push 0x6eb
push ebx
push 0x16b2
push ecx
push ecx
push 0x3a78
lea eax, [esp + 0x3c]
mov edx, 0x388a
push eax
lea eax, [esp + 0xa8]
push eax
push ecx
mov ecx, 0x420d
call fcn.100318d1
mov ecx, dword [esp + 0xb0]
add esp, 0x24
mov dword [ecx + 4], edi
mov eax, dword [ecx + 4]
cmp dword [esp + eax*4 + 0xa0], 0
jne 0x10034299
dec dword [ecx + 4]
jns 0x10034287
lea ecx, [esp + 0x8c]
mov byte [esp + 0xcc], 0
call fcn.10001940
jmp 0x100345e9
mov dword [esp + 0x10], 0
jmp 0x100342cc
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x18], 0xc75b57fd
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jl 0x100342bc
mov dword [esp + 0x18], 0xf
jmp 0x1003436d
mov dword [esp + 0x10], 0x25f5
xor edx, edx
mov dword [esp + 0x14], 0xe318b474
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
imul ecx, dword [esp + 0x18], 0xa955
mov eax, dword [esp + 0x10]
add ecx, 0x855eec80
cmp eax, ecx
setne dl
imul edx, dword [esp + 0x10]
test edx, edx
jne 0x10034323
cmp dword [esp + 0x18], edx
jne 0x10034323
xor ecx, ecx
jmp 0x10034325
mov ecx, ebx
mov eax, dword [esp + 0x18]
add ecx, 0xf99f29b4
xor edx, edx
cmp ecx, eax
setl dl
cmp edx, dword [esp + 0x18]
je 0x10034347
cmp dword [esp + 0x10], 0
je 0x10034347
mov ecx, ebx
jmp 0x10034349
xor ecx, ecx
mov eax, dword [esp + 0x18]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x18]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x10]
setl cl
add eax, ecx
mov dword [esp + 0x14], eax
dec dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jne 0x100342df
push 0
push 0x2821
lea eax, [esp + 0x68]
mov ecx, 0x5f22
push eax
lea eax, [esp + 0x44]
push ebx
push eax
lea edx, [esp + 0x44]
call fcn.10031345
add esp, 0x14
lea ecx, [esp + 0x80]
push 3
pop esi
push esi
call fcn.100018bd
mov dword [esp + 0x14], 0x7182abbf
xor edx, edx
mov dword [esp + 0x14], 0x579253a3
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x14], 0xfffffffb
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x14], 0x7383cc47
mov dword [esp + 0x14], ebx
mov dword [esp + 0x14], 0x6f9f1111
mov dword [esp + 0x10], edx
jmp 0x10034404
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x399841b3
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x100343ee
mov dword [esp + 0x10], edx
jmp 0x10034423
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xac], 0x61a6520
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10034410
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], dl
mov dword [eax], 0xfffffff8
call fcn.10001940
jmp 0x100344dc
mov dword [esp + 0x10], 0
jmp 0x1003446b
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xb4], 0
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10034458
push ecx
call fcn.1003183b
mov dword [esp], 0x94b
lea eax, [esp + 0x27]
push 0x1873
push eax
push 0x3182
push ecx
xor dl, dl
mov byte [esp + 0x37], 0
mov ecx, 0x56a5
call fcn.10030e75
add esp, 0x14
lea eax, [esp + 0x60]
xor dl, dl
mov ecx, 0x1f3b
push 0x7074
push ebx
push 0x107b
push eax
push 0x2282
lea eax, [esp + 0x44]
push eax
push 0x7e4a
push 0
push 0x7f7a
push 0x6b69
call fcn.1003407a
add esp, 0x28
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x38]
jb 0x1003444e
mov dword [esp + 0x28], 0xedf6
xor ecx, ecx
mov dword [esp + 0x1c], 0xfffffffc
mov dword [esp + 0x1c], 0x4a7d2ae8
mov dword [esp + 0x14], 0x7b8b0d58
mov dword [esp + 0x5c], 0x796a450c
mov dword [esp + 0x10], ecx
jmp 0x10034526
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x40], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1003451a
mov dword [esp + 0x10], ecx
jmp 0x10034546
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x98], 0x68c0aa39
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10034533
mov eax, dword [esp + 0x4c]
xor edx, edx
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
cmp eax, 0x51ef9953
mov eax, dword [esp + 0x28]
setle dl
neg eax
xor ecx, ecx
cmp eax, edx
setl cl
add ecx, 0xab56
imul ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x4c], ecx
je 0x100345a2
mov edx, ebx
cmp dword [esp + 0x28], ecx
jne 0x100345a4
mov edx, ecx
mov esi, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x98], esi
mov eax, dword [esp + 0x4c]
cmp edx, eax
mov eax, dword [esp + 0x4c]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x4c]
sete dl
xor ecx, ecx
cmp edx, eax
lea eax, [esp + 0x5c]
push eax
setg cl
mov dl, bl
imul ecx, esi
push 0
mov dword [esp + 0x1c], ecx
xor cl, cl
call fcn.1003169a
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x60]
cmp ecx, eax
je 0x100345fe
push 0xffffffffffffffff
push 0
push eax
call fcn.1000426d
push 0
push ebx
lea ecx, [esp + 0x68]
call fcn.10004734
jmp 0x10034650
test dl, dl
je 0x10034635
mov edx, dword [ebp + 0x2c]
push 2
pop edi
mov dword [edx], 0
cmp dword [edx], edi
jge 0x10034650
mov esi, dword [ebp + 0x14]
xor ebx, ebx
inc ebx
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
inc dword [edx]
cmp dword [edx], edi
jl 0x10034626
jmp 0x10034650
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
lea eax, [ecx + 2]
mov dword [edx], eax
call fcn.100302fc
mov ecx, dword [ebp + 0x20]
movzx eax, ax
push eax
call fcn.1000cbee
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret