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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x70313a34
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x7c], ecx
cmp esi, ebx
je 0x70255827
cmp byte [esi], bl
je 0x70255827
lea eax, [edi + 4]
push eax
mov dword [esp + 0x90], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x80], ebx
call fcn.70254d80
mov dword [esp + 0x148], ebx
cmp dword [esp + 0x1c], ebx
je 0x70255813
lea eax, [esp + 0x28]
push eax
call fcn.702450f0
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x14c], 1
call fcn.702450f0
lea edx, [esp + 0x90]
mov byte [esp + 0x148], 2
push edx
mov byte [esp + 0x2b], bl
call fcn.70256330
mov byte [esp + 0x148], 3
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
lea ebx, [eax + 4]
push ecx
push eax
lea esi, [esp + 0x20]
call fcn.70256d90
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.70256dd0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
push 1
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ecx
lea eax, [esp + 0xbc]
mov dword [esp + 0x2c], esp
call fcn.702575b0
add esp, 0xc
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xdc]
push ecx
lea ebx, [esp + 0x98]
mov byte [esp + 0x150], 5
call fcn.702561a0
xor ebx, ebx
cmp dword [esp + 0x40], ebx
je 0x702554e0
add edi, 0x3c
mov dword [esp + 0x20], edi
lea ecx, [ecx]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov esi, dword [edx]
cmp eax, ebx
jne 0x7025536c
call fcn.702e2961
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x702552a3
call fcn.702e2961
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ebx, [esp + 0xec]
lea edi, [esp + 0x30]
mov dword [esp + 0x24], ecx
call fcn.702567f0
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xf0]
push edx
call fcn.70256090
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x18]
mov eax, dword [eax]
test edi, edi
je 0x70255301
cmp edi, eax
je 0x70255306
call fcn.702e2961
cmp esi, ebx
je 0x702554d4
test edi, edi
jne 0x70255373
call fcn.702e2961
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x70255323
call fcn.702e2961
mov eax, dword [esp + 0x1c]
cmp dword [esi + 0x10], eax
jne 0x702554d4
test edi, edi
jne 0x70255377
call fcn.702e2961
cmp esi, dword [edi + 0x18]
jne 0x70255343
call fcn.702e2961
mov ebx, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
test esi, esi
jne 0x7025537b
mov dword [esp + 0x10], esi
lea esi, [esp + 0x74]
call fcn.70256ce0
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
jmp 0x702552f0
mov eax, dword [eax]
jmp 0x70255299
mov eax, dword [edi]
jmp 0x70255319
mov edi, dword [edi]
jmp 0x70255339
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x10]
mov dword [esp + 0x84], ecx
push eax
lea ecx, [esp + 0xdc]
push ecx
lea edi, [esp + 0x98]
mov dword [esp + 0x88], edx
call fcn.702562a0
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x702553c1
cmp eax, dword [esp + 0x80]
je 0x702553c6
call fcn.702e2961
mov edx, dword [esp + 0x84]
cmp dword [edi + 4], edx
je 0x702553f0
lea esi, [esp + 0x74]
mov dword [esp + 0x10], 0
call fcn.70256ce0
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
jmp 0x702552f0
push 1
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], esi
lea eax, [esp + 0xbc]
mov dword [esp + 0x94], esp
call fcn.702575b0
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x114]
push edx
lea ebx, [esp + 0x98]
mov byte [esp + 0x150], 8
call fcn.702561a0
mov byte [esp + 0x148], 6
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
push ecx
xor ebx, ebx
push eax
lea esi, [esp + 0x18]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xb8], ebx
call fcn.70256d90
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.70256dd0
mov eax, dword [esp + 0x10]
mov dword [edi], esi
mov edx, dword [esi + 4]
mov dword [edx], esi
cmp eax, ebx
je 0x702554ba
mov eax, dword [eax + 0x1c]
and eax, 1
je 0x702554ba
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
push ecx
push eax
lea esi, [esp + 0x18]
call fcn.70256d90
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.70256dd0
mov dword [edi], esi
mov edx, dword [esi + 4]
mov dword [edx], esi
lea esi, [esp + 0x74]
mov dword [esp + 0x10], ebx
call fcn.70256ce0
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
jmp 0x702552f0
xor ebx, ebx
cmp dword [esp + 0x40], ebx
jne 0x70255280
cmp dword [esp + 0x5c], ebx
jne 0x702555ab
lea esi, [esp + 0x90]
mov byte [esp + 0x148], 9
call fcn.70256870
mov eax, dword [esp + 0x90]
push eax
call fcn.702e1c24
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x5c], ebx
cmp eax, ecx
je 0x70255548
lea esp, [esp]
mov esi, dword [eax]
push eax
mov dword [eax + 8], ebx
call fcn.702e1c24
mov ecx, dword [esp + 0x5c]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x70255530
push ecx
call fcn.702e1c24
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
mov dword [esp + 0x5c], ebx
call fcn.702e1c24
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x40]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x40], ebx
cmp eax, ecx
je 0x70255598
lea ecx, [ecx]
mov esi, dword [eax]
push eax
mov dword [eax + 8], ebx
call fcn.702e1c24
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x70255580
push ecx
call fcn.702e1c24
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
jmp 0x70255807
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov edi, dword [esp + 0x58]
cmp esi, ebx
je 0x702555ce
cmp esi, dword [esp + 0x44]
je 0x702555d3
call fcn.702e2961
cmp dword [esp + 0x14], edi
je 0x7025574d
mov dword [esp + 0x134], 0xf
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
mov byte [esp + 0x148], 0xa
cmp esi, ebx
jne 0x70255648
call fcn.702e2961
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x70255617
call fcn.702e2961
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x70255632
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x128]
call fcn.7020c5f0
cmp dword [esp + 0x130], ebx
jne 0x7025564c
cmp dword [esp + 0x134], 0x10
jmp 0x7025570b
mov eax, dword [esi]
jmp 0x70255609
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x11c]
push ecx
push edx
lea edi, [esp + 0xfc]
call fcn.70246e30
push eax
mov edi, 0x7032d26c
lea esi, [esp + 0xc8]
mov byte [esp + 0x154], 0xb
call fcn.70246d80
add esp, 0xc
mov ecx, dword [esp + 0x60]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x154], 0xc
call fcn.7020c5f0
cmp dword [esp + 0xd4], 0x10
jb 0x702556b1
mov eax, dword [esp + 0xc0]
push eax
call fcn.702e1c24
add esp, 4
mov esi, 0x10
mov byte [esp + 0x148], 0xa
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
cmp dword [esp + 0x10c], esi
jb 0x702556f0
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.702e1c24
add esp, 4
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x124]
push edx
call fcn.7020c5f0
cmp dword [esp + 0x134], esi
jb 0x7025571d
mov eax, dword [esp + 0x120]
push eax
call fcn.702e1c24
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x70255749
call fcn.702e2961
xor eax, eax
mov esi, dword [esp + 0x14]
cmp esi, dword [eax + 0x14]
jne 0x7025573a
call fcn.702e2961
mov ecx, dword [esi]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
jmp 0x702555c0
mov eax, dword [eax]
jmp 0x7025572c
mov dword [esp + 0x70], 1
lea esi, [esp + 0x90]
mov byte [esp + 0x148], 0xd
call fcn.70256870
mov edx, dword [esp + 0x90]
push edx
call fcn.702e1c24
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x5c], ebx
cmp eax, ecx
je 0x702557ac
mov esi, dword [eax]
push eax
mov dword [eax + 8], ebx
call fcn.702e1c24
mov ecx, dword [esp + 0x5c]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x70255794
push ecx
call fcn.702e1c24
mov eax, dword [esp + 0x48]
add esp, 4
push eax
mov dword [esp + 0x5c], ebx
call fcn.702e1c24
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x40]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x40], ebx
cmp eax, ecx
je 0x702557f9
mov esi, dword [eax]
push eax
mov dword [eax + 8], ebx
call fcn.702e1c24
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x702557e1
push ecx
call fcn.702e1c24
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
mov dword [esp + 0x40], ebx
call fcn.702e1c24
add esp, 4
mov edx, dword [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x70]
jmp 0x70255829
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.702e1c2f
mov esp, ebp
pop ebp
ret 8