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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10215a53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
cmp edx, dword [ebp + 0x14]
jg 0x10034961
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x18]
jg 0x10034961
xor ebx, ebx
cmp dword [esi + 0x50], ebx
jne 0x10034308
push 0xff00000f
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x74]
jmp 0x10034961
lea edi, [esi + 0x70]
xor eax, eax
mov dword [esp + 0x2c], edi
inc eax
lock xadd dword [edi], eax
mov dword [esp + 0x54], ebx
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x2c]
cmp eax, dword [0x102b7738]
jne 0x10034339
mov ecx, esi
call fcn.10034ac8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
mov ecx, dword [esi + 0x50]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.100479eb
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
call fcn.1000e87b
lea eax, [esi + 0x54]
mov dword [esp + 0x30], ebx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x40]
call fcn.1000e87b
lea ebx, [esi + 0xfc]
mov ecx, ebx
mov dword [esp + 0x30], ebx
call fcn.10005da4
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov byte [esp + 0x54], 1
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
call fcn.1001d7cb
add esp, 0x20
test al, al
je 0x10034934
lea edx, [ebp + 0xc]
mov ecx, esi
call fcn.10033f7a
test al, al
jne 0x10034934
mov eax, dword [ebp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, esi
call fcn.10035a31
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 4], eax
mov ecx, esi
call fcn.10035a31
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x1003445b
test ecx, ecx
je 0x10034934
test eax, eax
je 0x1003445b
mov eax, dword [ebp + 0x14]
push ecx
push ecx
mov edx, esp
mov ecx, esi
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
mov dword [edx + 4], eax
call fcn.10035a31
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.1006f13b
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x10034934
cmp ecx, dword [esi + 0x50]
je 0x10034934
mov eax, dword [ecx]
push esi
call dword [eax + 0x3e4]
test eax, eax
je 0x10034877
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x10034490
mov ecx, dword [0x102b7738]
jmp 0x100344a5
cmp ecx, dword [0x102b7738]
jne 0x100344a5
push 0
push ecx
push esi
mov ecx, eax
call fcn.10079533
mov ecx, eax
and dword [esp + 0x20], 0
push ecx
lea ecx, [esp + 0x24]
call fcn.1000fd99
mov byte [esp + 0x54], 2
mov edx, SysReAllocStringLen
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x4f8]
cmp eax, edx
je 0x100344ff
test eax, eax
je 0x100344ff
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x470]
mov byte [esp + 0x54], 1
mov ecx, eax
mov dword [esp + 0x10], ecx
test esi, esi
je 0x10034886
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x10]
jmp 0x10034886
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xc8], 0
jne 0x10034867
mov ecx, dword [esi + 0x524]
cmp ecx, 0xffffffff
je 0x10034527
cmp ecx, 0xff
jne 0x10034867
mov ecx, dword [esi + 0x98]
mov eax, 0xff000000
cmp ecx, eax
cmove ecx, eax
call fcn.10002fbe
test al, al
jne 0x1003458f
mov ecx, dword [esi + 0x9c]
mov eax, 0xff000000
cmp ecx, eax
cmove ecx, eax
call fcn.10002fbe
test al, al
jne 0x1003458f
mov ecx, dword [esi + 0xa0]
mov eax, 0xff000000
cmp ecx, eax
cmove ecx, eax
call fcn.10002fbe
test al, al
jne 0x1003458f
mov ecx, dword [esi + 0xa4]
mov eax, 0xff000000
cmp ecx, eax
cmove ecx, eax
call fcn.10002fbe
test al, al
je 0x10034664
lea eax, [esi + 0xa8]
xor ecx, ecx
cmp dword [eax], ecx
jne 0x100345a5
cmp dword [eax + 4], 0xffffffff
jne 0x10034867
mov ecx, eax
call fcn.10003a2e
test eax, eax
je 0x10034867
lea ecx, [esi + 0xa8]
call fcn.10003a2e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x10034867
lea eax, [esi + 0x98]
mov edx, SysReAllocStringLen
mov ecx, dword [eax + 0x18]
cmp ecx, edx
je 0x10034602
test ecx, ecx
je 0x10034602
cmp ecx, edx
je 0x10034867
cmp ecx, 4
je 0x10034602
cmp ecx, edx
je 0x10034867
cmp ecx, 5
jne 0x10034867
lea ecx, [eax + 0xdc]
cmp dword [ecx], 0
mov dword [esp + 0x1c], ecx
jne 0x10034617
cmp dword [ecx + 4], 0xffffffff
jne 0x1003466a
call fcn.10003a2e
test eax, eax
je 0x10034664
mov ecx, dword [esp + 0x1c]
call fcn.10003a2e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
lea eax, [esi + 0x98]
jne 0x1003466a
mov ecx, dword [eax + 0xe4]
mov edx, SysReAllocStringLen
cmp ecx, edx
je 0x100346eb
test ecx, ecx
je 0x100346eb
cmp ecx, edx
je 0x1003466a
cmp ecx, 4
je 0x100346eb
jmp 0x1003466a
lea eax, [esi + 0x98]
xor ecx, ecx
cmp dword [eax + 0x9c], ecx
ja 0x10034867
cmp dword [eax + 0xac], ecx
ja 0x10034867
cmp dword [eax + 0xbc], ecx
ja 0x10034867
cmp dword [eax + 0xcc], ecx
ja 0x10034867
push ecx
mov ecx, eax
call fcn.10003d0b
test al, al
jne 0x10034867
push 1
lea ecx, [esi + 0x98]
call fcn.10003d0b
test al, al
jne 0x10034867
push 2
lea ecx, [esi + 0x98]
call fcn.10003d0b
test al, al
jne 0x10034867
push 3
lea ecx, [esi + 0x98]
call fcn.10003d0b
test al, al
jne 0x10034867
and dword [esp + 0x18], 0
lea eax, [esi + 0x2b0]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
lea edx, [eax - 0x10]
cmp dword [edx], 0
mov dword [esp + 0x24], edx
jbe 0x1003475f
push 0x3e8
sub esp, 0x10
lea eax, [esi + 0xc]
mov ecx, esp
push eax
call fcn.10003a43
mov ecx, dword [esp + 0x38]
call fcn.1008645a
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x1003475b
cmp dword [eax], 0
jbe 0x1003475b
push 0x3e8
sub esp, 0x10
lea eax, [esi + 0xc]
mov ecx, esp
push eax
call fcn.10003a43
mov ecx, dword [esp + 0x30]
call fcn.1008645a
test eax, eax
jne 0x10034867
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add ecx, 2
add eax, 0x20
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp ecx, 8
jl 0x100346fe
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x3c], 0
jl 0x10034867
cmp dword [eax + 0x40], 0
jl 0x10034867
cmp dword [eax + 0x44], 0
jl 0x10034867
cmp dword [eax + 0x48], 0
jl 0x10034867
mov ecx, dword [esi + 0x488]
mov edx, SysReAllocStringLen
cmp ecx, edx
je 0x100347c1
cmp ecx, 4
jne 0x100347c1
cmp dword [esi + 0x78], edx
je 0x100347c1
cmp dword [esi + 0x78], 0
jne 0x10034867
push dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.1002e946
mov eax, dword [ebp + 0xc]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x3c], esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 0x10]
cmp dword [esp + 0x5c], edx
mov eax, dword [ebp + 0x18]
cmovg edx, dword [esp + 0x5c]
cmp dword [esp + 0x64], eax
mov ecx, dword [ebp + 0x14]
cmovl eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
cmp dword [esp + 0x58], eax
cmovg eax, dword [esp + 0x58]
cmp dword [esp + 0x60], ecx
mov dword [esi], eax
mov eax, esp
cmovl ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esp
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
call fcn.1001d7cb
mov esi, dword [esp + 0x40]
add esp, 0x20
test al, al
jne 0x10034867
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x10], 0x1f
je 0x10034867
cmp dword [ecx + 0x10], 0x3e
je 0x10034867
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, 4
jne 0x1003488f
mov byte [esp + 0x54], 1
test esi, esi
je 0x10034877
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x10]
call fcn.1006dc05
mov ecx, eax
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x14]
jmp 0x1003445b
mov ecx, dword [esp + 0x10]
push dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x180]
test al, al
je 0x100348b5
mov ecx, dword [esp + 0x10]
push 1
mov eax, dword [ecx]
call dword [eax + 0x478]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
call fcn.10034231
mov ecx, dword [esp + 0x10]
push ecx
push ecx
push esp
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
call dword [edx + 0x464]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push dword [ebp + 8]
mov ecx, dword [esp + 0x20]
call dword [eax + 0x28c]
mov eax, dword [esi + 0x3f4]
cmp eax, 0x80000000
je 0x10034922
cmp eax, 9
jne 0x10034922
mov ecx, dword [esp + 0x10]
push 0
push ecx
push ecx
mov edx, dword [ecx]
push esp
mov dword [esp + 0x34], edx
call dword [edx + 0x464]
push dword [esp + 0x20]
mov eax, dword [esp + 0x34]
push dword [ebp + 8]
mov ecx, dword [esp + 0x24]
call dword [eax + 0x2ac]
mov byte [esp + 0x54], 1
test esi, esi
je 0x1003494e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1003494e
mov ecx, dword [esi + 0x50]
push ecx
push ecx
mov eax, esp
push esi
push dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ecx]
call dword [eax + 0x28c]
mov ecx, ebx
mov byte [esp + 0x54], 0
call fcn.10005da4
or eax, 0xffffffff
lock xadd dword [edi], eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14