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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b7955
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x34], eax
call fcn.0044f750
push 0x38
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0x4bce80
call dword [0x4b93e8]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x120], 0
test eax, eax
je 0x49edc4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.004a2d50
jmp 0x49edc6
xor eax, eax
mov dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.00460b50
mov dword [esp + 0x120], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], 0
mov byte [esp + 0xf8], 0
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov byte [esp + 0x120], 5
mov esi, dword [0x4b93e4]
test edi, edi
je 0x49f042
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x48]
cmp dword [eax + 0x10], 0
je 0x49f042
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x48]
sub esp, 0x18
xor edx, edx
mov ecx, esp
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.0040b790
lea ecx, [esp + 0xf8]
call fcn.0049fed0
lea ecx, [esp + 0x80]
mov dword [esp + 0x2c], eax
add esp, 0x18
cmp ecx, eax
je 0x49ef0c
cmp dword [esp + 0x7c], 0x10
jb 0x49eeea
push dword [esp + 0x68]
call esi
mov eax, dword [esp + 0x18]
add esp, 4
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
call fcn.0040aeb0
cmp dword [esp + 0xf4], 0x10
jb 0x49ef22
push dword [esp + 0xe0]
call esi
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
sub esp, 0x18
xor edx, edx
mov ecx, esp
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.0040b790
lea ecx, [esp + 0xf8]
call fcn.0049fed0
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], eax
add esp, 0x18
cmp ecx, eax
je 0x49ef9f
cmp dword [esp + 0x4c], 0x10
jb 0x49ef80
push dword [esp + 0x38]
call esi
mov eax, dword [esp + 0x18]
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.0040aeb0
cmp dword [esp + 0xf4], 0x10
jb 0x49efb5
push dword [esp + 0xe0]
call esi
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
sub esp, 0x18
xor edx, edx
mov ecx, esp
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.0040b790
lea ecx, [esp + 0xf8]
call fcn.0049fed0
mov edi, eax
add esp, 0x18
lea eax, [esp + 0x50]
cmp eax, edi
je 0x49f02c
cmp dword [esp + 0x64], 0x10
jb 0x49f00d
push dword [esp + 0x50]
call esi
add esp, 4
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
call fcn.0040aeb0
cmp dword [esp + 0xf4], 0x10
jb 0x49f042
push dword [esp + 0xe0]
call esi
add esp, 4
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
mov dword [esp + 0xdc], 0xf
mov dword [esp + 0xd8], 0
mov byte [esp + 0xc8], 0
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
mov byte [esp + 0x120], 9
test ebx, ebx
je 0x49f0eb
cmp byte [ebx], 0
jne 0x49f0cf
xor ecx, ecx
jmp 0x49f0dd
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49f0d4
sub ecx, edx
push ecx
push ebx
lea ecx, [esp + 0xa0]
call fcn.0040ab60
mov edx, dword [esp + 0x30]
test edx, edx
je 0x49f118
cmp byte [edx], 0
jne 0x49f0fc
xor ecx, ecx
jmp 0x49f10a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49f101
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xd0]
call fcn.0040ab60
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x49f147
cmp byte [edx], 0
jne 0x49f129
xor ecx, ecx
jmp 0x49f139
mov ecx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49f130
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x88]
call fcn.0040ab60
mov edx, dword [esp + 0x34]
test edx, edx
je 0x49f177
cmp byte [edx], 0
jne 0x49f158
xor ecx, ecx
jmp 0x49f169
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49f160
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xb8]
call fcn.0040ab60
call fcn.0044f750
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push 1
push 4
push eax
mov ecx, ebx
call fcn.004a3530
test al, al
je 0x49f1a8
lea esi, [ebx + 8]
push esi
call dword [0x4b90bc]
inc dword [ebx + 4]
push esi
call dword [0x4b90c0]
cmp dword [esp + 0x7c], 0x10
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x78]
cmovae edi, dword [esp + 0x68]
call fcn.0044f750
push 2
lea eax, [esi + 1]
mov ecx, ebx
push eax
push edi
call fcn.004a3530
test al, al
je 0x49f1e6
mov eax, dword [0x4b90bc]
lea esi, [ebx + 8]
push esi
call eax
inc dword [ebx + 4]
push esi
call dword [0x4b90c0]
cmp dword [esp + 0x4c], 0x10
lea edi, [esp + 0x38]
mov esi, dword [esp + 0x48]
cmovae edi, dword [esp + 0x38]
call fcn.0044f750
push 3
lea eax, [esi + 1]
mov ecx, ebx
push eax
push edi
call fcn.004a3530
mov edi, dword [0x4b90bc]
test al, al
je 0x49f225
lea esi, [ebx + 8]
push esi
call edi
inc dword [ebx + 4]
push esi
call dword [0x4b90c0]
call fcn.0044f750
push 4
push 1
lea eax, [esp + 0x100]
mov ecx, ebx
push eax
call fcn.004a3530
test al, al
je 0x49f251
lea esi, [ebx + 8]
push esi
call edi
inc dword [ebx + 4]
push esi
call dword [0x4b90c0]
cmp dword [esp + 0x64], 0x10
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x60]
cmovae edi, dword [esp + 0x50]
call fcn.0044f750
push 5
lea eax, [esi + 1]
mov ecx, ebx
push eax
push edi
call fcn.004a3530
test al, al
je 0x49f28f
mov eax, dword [0x4b90bc]
lea esi, [ebx + 8]
push esi
call eax
inc dword [ebx + 4]
push esi
call dword [0x4b90c0]
cmp dword [esp + 0xac], 0x10
lea edi, [esp + 0x98]
mov esi, dword [esp + 0xa8]
cmovae edi, dword [esp + 0x98]
call fcn.0044f750
push 6
lea eax, [esi + 1]
mov ecx, ebx
push eax
push edi
call fcn.004a3530
test al, al
je 0x49f2d8
lea esi, [ebx + 8]
push esi
call dword [0x4b90bc]
inc dword [ebx + 4]
push esi
call dword [0x4b90c0]
cmp dword [esp + 0xdc], 0x10
lea edi, [esp + 0xc8]
mov esi, dword [esp + 0xd8]
cmovae edi, dword [esp + 0xc8]
call fcn.0044f750
push 7
lea eax, [esi + 1]
mov ecx, ebx
push eax
push edi
call fcn.004a3530
test al, al
je 0x49f321
lea esi, [ebx + 8]
push esi
call dword [0x4b90bc]
inc dword [ebx + 4]
push esi
call dword [0x4b90c0]
cmp dword [esp + 0x94], 0x10
lea edi, [esp + 0x80]
mov esi, dword [esp + 0x90]
cmovae edi, dword [esp + 0x80]
call fcn.0044f750
push 8
lea eax, [esi + 1]
mov ecx, ebx
push eax
push edi
call fcn.004a3530
test al, al
je 0x49f36a
lea esi, [ebx + 8]
push esi
call dword [0x4b90bc]
inc dword [ebx + 4]
push esi
call dword [0x4b90c0]
cmp dword [esp + 0xc4], 0x10
lea edi, [esp + 0xb0]
mov esi, dword [esp + 0xc0]
cmovae edi, dword [esp + 0xb0]
call fcn.0044f750
push 9
lea eax, [esi + 1]
mov ecx, ebx
push eax
push edi
call fcn.004a3530
test al, al
je 0x49f3b7
lea esi, [ebx + 8]
push esi
call dword [0x4b90bc]
inc dword [ebx + 4]
mov ebx, dword [0x4b90c0]
push esi
call ebx
jmp 0x49f3bd
mov ebx, dword [0x4b90c0]
call fcn.0044f750
mov edi, eax
lea eax, [edi + 4]
push eax
mov dword [esp + 0x1c], eax
call dword [0x4b90bc]
mov ecx, dword [edi + 0x24]
mov esi, dword [ecx]
cmp esi, ecx
je 0x49f3f9
jmp 0x49f3e0
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
je 0x49f3f2
lea eax, [esp + 0x1c]
push eax
call fcn.004a1620
mov esi, dword [esi]
cmp esi, dword [edi + 0x24]
jne 0x49f3e0
push dword [esp + 0x18]
call ebx
cmp dword [esp + 0xc4], 0x10
mov ebx, dword [0x4b93e4]
jb 0x49f41b
push dword [esp + 0xb0]
call ebx
add esp, 4
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], 0
mov byte [esp + 0xb0], 0
jb 0x49f44f
push dword [esp + 0x80]
call ebx
add esp, 4
cmp dword [esp + 0xdc], 0x10
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
jb 0x49f483
push dword [esp + 0xc8]
call ebx
add esp, 4
cmp dword [esp + 0xac], 0x10
mov dword [esp + 0xdc], 0xf
mov dword [esp + 0xd8], 0
mov byte [esp + 0xc8], 0
jb 0x49f4b7
push dword [esp + 0x98]
call ebx
add esp, 4
cmp dword [esp + 0x64], 0x10
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
jb 0x49f4e5
push dword [esp + 0x50]
call ebx
add esp, 4
cmp dword [esp + 0x10c], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
jb 0x49f510
push dword [esp + 0xf8]
call ebx
add esp, 4
cmp dword [esp + 0x4c], 0x10
jb 0x49f520
push dword [esp + 0x38]
call ebx
add esp, 4
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x49f545
push dword [esp + 0x68]
call ebx
add esp, 4
mov dword [esp + 0x120], 0xffffffff
mov esi, dword [esp + 0x20]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
test esi, esi
je 0x49f592
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x49f592
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x49f592
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, 1
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004a6303
mov esp, ebp
pop ebp
ret 0x14