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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42f85f
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4514c8]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4514c8]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [esp + 0x28], ebx
call dword [0x43201c]
push ecx
mov ecx, 0x4524e0
call fcn.3003fa7e
lea eax, [esp + 0x20]
push eax
push esi
call dword [0x432158]
mov esi, eax
mov dword [esp + 0x34], esi
cmp dword [esp + 0x20], ebx
je 0x30036386
test esi, esi
je 0x30036386
mov ecx, dword [0x432028]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x2c], esi
call fcn.3003d74e
mov dword [esp + 0xf0], ebx
lea ecx, [esp + 0x64]
push 0x448068
xor edi, edi
call fcn.30036b1e
mov byte [esp + 0xf0], 1
lea ecx, [esp + 0x4c]
push dword [esi]
call fcn.30036b1e
mov byte [esp + 0xf0], 2
lea edx, [esp + 0x64]
lea ecx, [esp + 0x4c]
call fcn.30034c1e
mov byte [esp + 0x16], al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x60], 8
jb 0x30035bfb
push dword [esp + 0x4c]
call fcn.3004bd15
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov byte [esp + 0xf0], al
cmp dword [esp + 0x78], 8
jb 0x30035c2c
push dword [esp + 0x64]
call fcn.3004bd15
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
cmp byte [esp + 0x16], 0
mov word [esp + 0x64], ax
mov eax, 1
cmovne edi, eax
mov dword [esp + 0x74], 0
cmp edi, dword [esp + 0x20]
jl 0x30035c60
mov esi, 0x10000
jmp 0x300362ee
mov ecx, dword [esi + edi*4]
lea eax, [esi + edi*4]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], eax
call fcn.3003642e
mov esi, eax
test esi, esi
jne 0x30035da1
mov ecx, dword [esp + 0x2c]
call fcn.3003522e
lea eax, [edi + 1]
mov byte [esp + 0x16], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jge 0x30035d2b
push 0x44807c
lea ecx, [esp + 0x80]
call fcn.30036b1e
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0x4c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], 1
push dword [esi + 4]
call fcn.30036b1e
mov dword [esp + 0xf0], 4
mov ebx, 3
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x90], 8
lea eax, [esp + 0x4c]
push dword [esp + 0x8c]
cmovae ecx, dword [esp + 0x80]
cmp dword [esp + 0x64], 8
push ecx
cmovae eax, dword [esp + 0x54]
push eax
call fcn.3004ca06
add esp, 0xc
test eax, eax
jne 0x30035d2f
mov byte [esp + 0x15], 1
jmp 0x30035d34
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x15], 0
mov dword [esp + 0xf0], 3
test bl, 2
je 0x30035d54
and ebx, 0xfffffffd
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebx
call fcn.30036c6e
mov dword [esp + 0xf0], 0
test bl, 1
je 0x30035d74
and ebx, 0xfffffffe
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], ebx
call fcn.30036c6e
cmp byte [esp + 0x15], 0
je 0x30035dad
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x40]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov byte [esp + 0x16], 1
mov dword [esp + 0x1c], eax
call fcn.300364be
mov esi, eax
test esi, esi
je 0x30035da9
shl esi, 0x10
jmp 0x300362ee
mov esi, dword [esp + 0x1c]
lea eax, [edi + 1]
mov byte [esp + 0x17], 0
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jge 0x30035e2f
push 0x448094
lea ecx, [esp + 0x50]
call fcn.30036b1e
mov byte [esp + 0xf0], 5
or ebx, 4
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x7c]
push dword [esi + 4]
call fcn.30036b1e
mov dword [esp + 0xf0], 6
or ebx, 8
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x7c]
cmovae ecx, dword [esp + 0x4c]
cmp dword [esp + 0x90], 8
push ecx
cmovae eax, dword [esp + 0x80]
push eax
call fcn.3004bec6
add esp, 8
mov byte [esp + 0x15], 1
test eax, eax
je 0x30035e34
mov byte [esp + 0x15], 0
mov dword [esp + 0xf0], 5
test bl, 8
je 0x30035e54
and ebx, 0xfffffff7
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], ebx
call fcn.30036c6e
mov dword [esp + 0xf0], 0
test bl, 4
je 0x30035e74
and ebx, 0xfffffffb
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebx
call fcn.30036c6e
cmp byte [esp + 0x15], 0
je 0x30035e84
mov edi, dword [esp + 0x24]
mov byte [esp + 0x17], 1
xor ebx, ebx
xor eax, eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
mov byte [esp + 0xf0], 7
inc edi
cmp edi, dword [esp + 0x20]
jge 0x30035f45
lea esp, [esp]
cmp dword [esp + 0xa4], 0
mov eax, dword [esp + 0x34]
mov esi, dword [eax + edi*4]
jne 0x30035f1d
cmp word [esi], 0
jne 0x30035ef7
xor ecx, ecx
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.30038a0e
jmp 0x30035f3a
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x30035efe
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.30038a0e
jmp 0x30035f3a
test ebx, ebx
jne 0x30035fb9
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.3003642e
mov esi, eax
test esi, esi
jne 0x30035fb1
mov ebx, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x30035ece
test ebx, ebx
jne 0x30035f4a
mov ebx, 1
xor edi, edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov byte [esp + 0xf0], 8
cmp dword [esp + 0xa4], edi
je 0x30035fc3
push ebx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb4]
call fcn.300347ce
mov byte [esp + 0xf0], 9
lea ecx, [esp + 0x64]
push eax
call fcn.30037bfe
mov byte [esp + 0xf0], 8
lea ecx, [esp + 0xac]
call fcn.300363be
mov edi, dword [esp + 0x68]
jmp 0x30036125
shl esi, 0x10
jmp 0x300362ad
mov esi, 0x10000
jmp 0x300362ad
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0xf0], 0xa
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0xf0], 0xc
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0xf0], 0xd
lock add byte [eax], al
add byte [0xac248c8d], cl
add byte [eax], al
add byte [eax + 0x7c], ch
mov byte [ebx], al
call dword [0x432014]
or eax, 0x10000