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

Disassembly:
push 0xffffffffffffffff
push 0x46f490
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48cc80]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [0x48f4f0]
push eax
lea ecx, [esp + 0x34]
call int.004b7f93
lea esi, [esp + 0x34]
mov dword [esp + 0x6c], 0
call fcn.00496b33
push 0x47ba28
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x78], 1
call fcn.0048d423
add esp, 0xc
mov byte [esp + 0x6c], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4948c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
call 0x4c90a9
mov ebx, dword [esp + 0x74]
lea eax, [ebx + 0x2d8]
push 0x47ba48
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x78], 4
call fcn.0048d423
add esp, 0xc
lea edx, [esp + 0x50]
mov byte [esp + 0x6c], 5
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x38]
call int.004b7ec3
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49492d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
cmp dword [esp + 0x58], esi
jle 0x494e20
call fcn.004be4cb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x494e98
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
add esi, 1
push esi
lea ecx, [esp + 0x2c]
push 0x47bd6c
push ecx
mov byte [esp + 0x78], 6
mov dword [esp + 0x58], esi
call fcn.00490453
push 0x47ba48
lea eax, [ebx + 0x2d8]
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.0048d423
add esp, 0x18
mov byte [esp + 0x6c], 7
mov ecx, dword [esp + 0x28]
mov eax, dword [eax]
push 0x47b168
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x40]
call fcn.004b8033
mov byte [esp + 0x6c], 9
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4949d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
je 0x494dc8
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004a7fb3
add esp, 8
mov byte [esp + 0x6c], 0xa
mov edx, dword [esp + 0x1c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x494a22
push esi
lea ecx, [esp + 0x20]
call fcn.0048d743
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4dcc31
add esp, 8
test esi, esi
jl 0x494ea7
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x494ea7
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov word [edx + esi*2], 0
call fcn.004a7fb3
add esp, 8
mov byte [esp + 0x6c], 0xb
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x494a8e
push esi
lea ecx, [esp + 0x1c]
call fcn.0048d743
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call 0x4dcc31
add esp, 8
test esi, esi
jl 0x494ea7
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x494ea7
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
mov word [ecx + esi*2], 0
call fcn.004a7fb3
add esp, 8
mov byte [esp + 0x6c], 0xc
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x494afa
push esi
lea ecx, [esp + 0x18]
call fcn.0048d743
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call 0x4dcc31
add esp, 8
test esi, esi
jl 0x494ea7
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x494ea7
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov word [edx + esi*2], 0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x494d59
mov ebp, dword [ebx + 0x23c]
xor esi, esi
test ebp, ebp
jle 0x494b83
mov edi, edi
test esi, esi
jl 0x494ea2
cmp esi, dword [ebx + 0x23c]
jge 0x494ea2
mov eax, dword [ebx + 0x238]
mov ebx, dword [eax + esi*4]
mov eax, dword [ebx + 0x1d8]
push edi
push eax
call 0x4dc3be
add esp, 8
test eax, eax
je 0x494c5c
mov ebx, dword [esp + 0x74]
add esi, 1
cmp esi, ebp
jl 0x494b43
add ebx, 0x25c
push edi
call fcn.004968c3
test eax, eax
jne 0x494bdb
mov esi, dword [esp + 0x74]
lea ebx, [esi + 0x284]
push edi
call fcn.00496923
test eax, eax
jne 0x494bdb
lea ebx, [esi + 0x270]
push edi
call fcn.00496983
test eax, eax
jne 0x494bdb
lea ebx, [esi + 0x248]
push edi
call fcn.004969e3
test eax, eax
jne 0x494bdb
lea ebx, [esi + 0x2ac]
push edi
call fcn.00496a43
test eax, eax
je 0x494e91
mov edi, eax
test edi, edi
je 0x494d55
call fcn.004be4cb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x494e98
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x6c], 0xd
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x494c63
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0048d363
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0xe
call fcn.0048d853
mov byte [esp + 0x6c], 0xd
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x494d1c
mov edi, ebx
jmp 0x494bdd
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0048d363
push 0x47b14c
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x84], 0xf
call fcn.0048d423
lea edx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x60]
mov bl, 0x10
push eax
mov byte [esp + 0x90], bl
call fcn.0048d363
add esp, 0x24
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0x11
call fcn.0048d853
mov byte [esp + 0x6c], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494cde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 0xf
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494d03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 0xd
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494d28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x24]
push esi
mov ecx, edi
call fcn.004b7493
lea eax, [esi - 0x10]
mov byte [esp + 0x6c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494d55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x74]
mov byte [esp + 0x6c], 0xb
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494d7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494da3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494dc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494ded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494e12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x4c]
cmp esi, dword [esp + 0x58]
jl 0x494939
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 3
call 0x4c937b
mov byte [esp + 0x6c], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494e53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494e7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
mov ebx, esi
jmp 0x494d59
push 0x80004005
call fcn.0048d6a3
call fcn.004be92a
push 0x80070057
call fcn.0048d6a3
int3