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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1f4
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x28], ebx
call fcn.00405610
test al, al
je 0x403598
call fcn.00405c60
mov ecx, ebx
call fcn.00405480
call fcn.00405960
mov eax, dword fs:[0x18]
mov edx, 0x30
mov dword [esp + 0x24], 0
push 0x1fd
push 0x1bf55743
mov eax, dword [eax + 0x30]
lea ecx, [edx - 0x29]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 0x44]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x24]
push ecx
push esi
call eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
cmp ecx, 3
jl 0x403216
xor edi, edi
test ecx, ecx
jle 0x403216
nop word [eax + eax]
mov byte [esp + 0x17], 0x5f
mov byte [esp + 0x18], 0x10
mov byte [esp + 0x19], 0x30
mov byte [esp + 0x1a], 0x10
mov byte [esp + 0x1b], 0x30
mov byte [esp + 0x1c], 0x10
mov byte [esp + 0x1d], 0x33
mov byte [esp + 0x1e], 0x10
mov byte [esp + 0x1f], 0x56
mov byte [esp + 0x20], 0x10
mov byte [esp + 0x21], 0x10
mov byte [esp + 0x22], 0x10
mov al, byte [esp + 0x17]
mov byte [esp + 0x23], 0
cmp byte [esp + 0x23], 0
jne 0x40319b
xor esi, esi
lea ebx, [esi + 0x7f]
mov al, byte [esp + esi + 0x17]
movzx ecx, al
sub ecx, 0x10
lea eax, [ecx*8]
sub eax, ecx
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [esp + esi + 0x17], dl
inc esi
cmp esi, 0xc
jb 0x403171
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov edx, 0x35
push 0xc682
push 0x11fa576c
mov esi, dword [eax + edi*4]
lea ecx, [edx - 0x34]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x17]
push ecx
push esi
call eax
test eax, eax
je 0x4031d5
inc edi
cmp edi, dword [esp + 0x24]
jl 0x403120
jmp 0x403216
mov eax, dword [0x455ee4]
test eax, eax
jne 0x403212
push 0xc8
call fcn.0040b1b0
add esp, 4
test eax, eax
je 0x40320b
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x40320d
xor eax, eax
mov dword [0x455ee4], eax
mov byte [eax + 0x78], 1
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, 0x412038
lea eax, [esi - 0x18]
push eax
call edi
mov dword [esi], 0
add esi, 0x1c
cmp esi, 0x413618
jl 0x403221
call fcn.00401250
push section..data
call edi
mov edx, 0x77
push 0x3493
push 0x928f7443
lea ecx, [edx - 0x76]
call fcn.004027f0
add esp, 8
push 0
push 0
push 0
push 0xffffffffffffffff
call eax
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x403598
mov eax, dword [0x455ee8]
test eax, eax
jne 0x40328b
push 4
call fcn.0040b1b0
add esp, 4
mov dword [0x455ee8], eax
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
mov dword [eax], ecx
mov edx, 0x86
push 0x9f6d
push 0x42036f47
mov ecx, 1
movaps xmmword [esp + 0x48], xmm0
movaps xmmword [esp + 0x58], xmm0
mov dword [esp + 0x68], 0
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x40]
push ecx
call eax
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [ebx + 0x18], eax
test eax, eax
je 0x40334b
nop word [eax + eax]
mov edx, 0x6c
push 0xb8cf
push 0x1ce6443
lea ecx, [edx - 0x6b]
call fcn.004027f0
add esp, 8
push 0
push 0
push ebx
push 0x403070
push 0
push 0
call eax
mov ecx, dword [0x455c84]
mov edi, eax
mov edx, dword [0x455c88]
cmp ecx, edx
jne 0x403330
lea ecx, [edx + 4]
push ecx
mov ecx, 0x455c80
call fcn.00406180
mov ecx, dword [0x455c84]
mov eax, dword [0x455c80]
inc esi
mov dword [eax + ecx*4], edi
mov eax, dword [0x455c84]
inc eax
mov dword [0x455c84], eax
cmp esi, dword [ebx + 0x18]
jb 0x4032e0
jmp 0x403350
mov eax, dword [0x455c84]
test eax, eax
je 0x403598
mov eax, dword [0x455ee4]
test eax, eax
jne 0x403395
push 0xc8
call fcn.0040b1b0
add esp, 4
test eax, eax
je 0x40338e
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x403390
xor eax, eax
mov dword [0x455ee4], eax
test byte [eax + 0x10], 1
je 0x4033cd
mov edx, 0x6c
push 0xb8cf
push 0x1ce6443
lea ecx, [edx - 0x6b]
call fcn.004027f0
add esp, 8
push 0
push 0
push ebx
push 0x403050
push 0
push 0
call eax
mov dword [ebx + 0x20], eax
mov eax, dword [0x455ee4]
test eax, eax
jne 0x403405
push 0xc8
call fcn.0040b1b0
add esp, 4
test eax, eax
je 0x4033fe
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x403400
xor eax, eax
mov dword [0x455ee4], eax
mov eax, dword [eax + 0x10]
shr eax, 1
test al, 1
je 0x403575
push 0x190
lea eax, [esp + 0x74]
push 0
push eax
call fcn.0040d390
add esp, 0xc
mov edx, 0x3d
push 0xa125
push 0x28ab7057
lea ecx, [edx - 0x39]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x70]
push ecx
push 0x202
call eax
cmp dword [0x412018], 0
jne 0x403508
mov edx, 0x56
mov dword [esp + 0x2c], 0x25a207b9
push 0x8201
push 0x68d45757
mov dword [esp + 0x38], 0x4660ddf3
lea ecx, [edx - 0x52]
mov dword [esp + 0x3c], 0xe576e98e
mov dword [esp + 0x40], 0x3e06748c
call fcn.004027f0
add esp, 8
push 0
push 0
push 0
push 6
push 1
push 2
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x403508
mov edx, 0x37
mov dword [esp + 0x28], 0
push 0xea0e
push 0x78d6c57
lea ecx, [edx - 0x33]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x28]
push 0
push 0
push ecx
push 4
push 0x412018
push 0x10
lea ecx, [esp + 0x44]
push ecx
push 0xc8000006
push esi
call eax
test eax, eax
jne 0x403508
push 0xee33
push 0x9aaa7463
lea edx, [eax + 0x21]
lea ecx, [eax + 4]
call fcn.004027f0
add esp, 8
push esi
call eax
call fcn.004066e0
test al, al
je 0x403575
call fcn.00406990
call fcn.00406b00
mov edx, 0x6c
push 0xb8cf
push 0x1ce6443
lea ecx, [edx - 0x6b]
call fcn.004027f0
add esp, 8
push 0
push 0
push ebx
push 0x403060
push 0
push 0
call eax
mov edx, 0x6c
mov dword [ebx + 0x24], eax
push 0xb8cf
push 0x1ce6443
lea ecx, [edx - 0x6b]
call fcn.004027f0
add esp, 8
push 0
push 0
push ebx
push 0x403080
push 0
push 0
call eax
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x20], 0
jne 0x40358f
cmp dword [ebx + 0x24], 0
jne 0x40358f
cmp dword [ebx + 0x28], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret