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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x47e66c]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [0x47e66c]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
call fcn.004a1090
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0049a8a0
push 0x404fe0
lea edi, [esp + 0x80]
mov ecx, ebx
call fcn.004a1690
xor edi, edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x1a8], edi
call fcn.0049a770
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x1ac], 1
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push 0x4802f8
push 0x404fe4
mov ecx, ebx
call edx
test al, al
jne 0x49c003
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x24]
push ecx
push 0x47f764
push 0x405010
mov ecx, ebx
call edx
test al, al
je 0x49c03a
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xc4]
push eax
call fcn.0049ada0
add esp, 4
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 2
call fcn.0049ae30
mov byte [esp + 0x1a8], 1
mov edi, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
add edi, edi
add edi, edi
push edi
push 0
push eax
mov dword [esp + 0x1c], eax
call 0x4d6b40
add esp, 0xc
cmp edi, 0x10
jb 0x49c02e
mov ecx, dword [esp + 0x10]
push ecx
call 0x4d6ce5
add esp, 4
mov edi, 1
cmp dword [esp + 0x78], edi
je 0x49c0a2
cmp dword [esp + 0x38], edi
je 0x49c0bb
lea edx, [esp + 0x28]
lea eax, [esp + 0x68]
call fcn.0049df90
jmp 0x49c0b7
mov edx, dword [esp + 0x10]
push edx
call 0x4d6bba
jmp 0x49c000
push 0x1d
push 0x40501c
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], edi
mov byte [esp + 0xb4], 0
call fcn.0048b8f0
lea eax, [esp + 0xa8]
push eax
push 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 3
call fcn.0048c150
push 0x477bb8
lea ecx, [esp + 0x140]
push ecx
mov dword [esp + 0x144], 0x40130c
call 0x4d66c7
cmp dword [esp + 0x38], edi
jne 0x49c126
lea edx, [esp + 0x28]
lea eax, [esp + 0x68]
call fcn.0049df90
neg eax
test eax, eax
jle 0x49c126
push 0x28
push 0x404fb4
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
call fcn.0048b8f0
lea edx, [esp + 0xa8]
push edx
push edi
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 4
call fcn.0048c150
push 0x477bb8
lea eax, [esp + 0x140]
push eax
mov dword [esp + 0x144], 0x40130c
call 0x4d66c7
call fcn.004a1090
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0049a8a0
push 0x404ffc
lea edi, [esp + 0xac]
mov ecx, ebx
call fcn.004a1690
mov byte [esp + 0x1a8], 5
call fcn.004a1160
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0049a8a0
push 0x40500c
lea edi, [esp + 0x6c]
mov ecx, ebx
call fcn.004a1690
mov edi, 1
mov byte [esp + 0x1a8], 6
cmp dword [esp + 0xa4], edi
je 0x49c8b5
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.0048cd40
add esp, 8
test al, al
jne 0x49c8b5
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x4803a0
push 0x404fe8
mov ecx, ebx
mov dword [esp + 0x1c], 0
call edx
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov byte [esp + 0x7c], al
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x1ac], 0xb
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0x47f6ac
push 0x4040dc
mov ecx, ebx
call edx
test al, al
je 0x49c399
push 0
lea ecx, [esp + 0x140]
call 0x4c07b0
lea eax, [esp + 0x13c]
push eax
lea esi, [esp + 0x16c]
mov byte [esp + 0x1ac], 0xc
call fcn.0048dea0
mov ecx, esi
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1ac], 0xd
call fcn.0049b7c0
mov edx, esi
push edx
lea ecx, [esp + 0x2c]
call fcn.0049b7c0
mov eax, esi
push eax
lea ecx, [esp + 0x98]
call fcn.0049b7c0
mov ecx, esi
push ecx
lea ecx, [esp + 0x58]
call fcn.0049b7c0
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.004a1730
add esp, 4
cmp byte [esp + 0x7c], 0
je 0x49c2a9
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
jmp 0x49c2b7
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push eax
lea eax, [esp + 0x16c]
call 0x4c1790
add esp, 4
lea edi, [esp + 0x168]
call 0x4c22f0
lea ecx, [esp + 0x13c]
call fcn.0048dc50
mov edi, eax
push 0
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edi
call fcn.0048b510
mov esi, eax
mov dword [esp + 0x48], esi
push edi
push esi
lea ecx, [esp + 0x144]
mov byte [esp + 0x1b0], 0xe
call 0x4c1240
push 0x14
call 0x4d6662
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x1a8], 0xf
test eax, eax
je 0x49c334
push edi
push esi
mov esi, eax
call fcn.0049bde0
mov esi, eax
jmp 0x49c336
xor esi, esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], esi
call fcn.0048b450
lea eax, [esp + 0x168]
push eax
mov byte [esp + 0x1ac], 0xc
call 0x4c2260
mov byte [esp + 0x1a8], 0xb
lea eax, [esp + 0x13c]
mov dword [esp + 0x13c], 0x408744
mov dword [esp + 0x140], 0x4087f8
call 0x4c0a20
mov edi, 1
test esi, esi
je 0x49c395
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x3c]
jmp 0x49c3a1
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x49c6a1
sub eax, edi
je 0x49c3fd
push 0x405070
lea ecx, [esp + 0x140]
call fcn.0048b9d0
lea edx, [esp + 0x13c]
push edx
push edi
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b0], 0x1b
call fcn.0048c150
push 0x477bb8
lea eax, [esp + 0x16c]
push eax
mov dword [esp + 0x170], 0x40130c
call 0x4d66c7
mov edx, dword [ebx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x10]
push eax
push 0x4803d4
push 0x4040e4
mov ecx, ebx
mov dword [esp + 0x1c], 0
call edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
xor eax, eax
add eax, edi
mov dword [esp + 0x20], eax
cmp eax, 0x10
jne 0x49c4b9
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x44]
call fcn.0049a8a0
push ebx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x1bc], 0x17
call 0x4c91b0
add esp, 0x14
test al, al
je 0x49c66e
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.0049ae30
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x50]
push eax
call 0x4c91b0
add esp, 0x14
lea ecx, [esp + 0x40]
test al, al
je 0x49c640
mov byte [esp + 0x1a8], 0xb
call fcn.0048cc30
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
push ecx
push edx
push esi
lea ecx, [esp + 0x34]
call fcn.0049bb80
lea eax, [esp + 0x28]
call 0x4c8690
push eax
lea ecx, [esp + 0xc8]
call fcn.0049a980
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x1b4], 0x18
call fcn.0048ce60
add esp, 0xc
push eax
lea eax, [esp + 0xdc]
push esi
push eax
mov byte [esp + 0x1b4], 0x19
call fcn.0048ce00
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x1a8], 0x1a
cmp dword [esp + 0x38], edi
je 0x49c544
cmp dword [ebx + 0x10], edi
je 0x49c55e
mov edx, ebx
lea eax, [esp + 0x28]
call fcn.0049df90
jmp 0x49c556
cmp dword [ebx + 0x10], edi
jne 0x49c55a
mov edx, ebx
lea eax, [esp + 0x28]
call fcn.0049df90
neg eax
test eax, eax
jge 0x49c55e
lea ebx, [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x9c]
push eax
push ebx
push esi
call 0x4c91b0
mov esi, dword [esp + 0xf4]
add esp, 0x14
add esi, esi
add esi, esi
push esi
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xe8]
push 0
push eax
mov ebx, eax
call 0x4d6b40
add esp, 0xc
push ebx
cmp esi, 0x10
jb 0x49c5ab
call 0x4d6ce5
jmp 0x49c5b0
call 0x4d6bba
mov esi, dword [esp + 0xf8]
mov eax, dword [esp + 0xfc]
add esp, 4
add esi, esi
add esi, esi
push esi
push 0
push eax
mov ebx, eax
call 0x4d6b40
add esp, 0xc
push ebx
cmp esi, 0x10
jb 0x49c5e0
call 0x4d6ce5
jmp 0x49c5e5
call 0x4d6bba
mov byte [esp + 0x1ac], 0xb
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
add esp, 4
add esi, esi
add esi, esi
push esi
push 0
push ebx
call 0x4d6b40
add esp, 0xc
push ebx
cmp esi, 0x10
jb 0x49c61b
call 0x4d6ce5
jmp 0x49c620
call 0x4d6bba
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x49c677
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edi, 1
jmp 0x49c427
call fcn.0048cc30
lea ecx, [esp + 0x7c]
call fcn.0048b0f0
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49c887
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
jmp 0x49c887
lea ecx, [esp + 0x40]
jmp 0x49c761
lea ecx, [esp + 0x7c]
call fcn.0048b0f0
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49c887
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x49c887
call fcn.004a1160
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0048cc90
add esp, 8
test al, al
je 0x49c6d1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.0049bb80
jmp 0x49c867
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x108]
push eax
call fcn.0048ce30
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push eax
lea edx, [esp + 0x130]
push edx
mov byte [esp + 0x1b4], 0x10
call fcn.0048cec0
add esp, 0xc
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x1b4], 0x11
call fcn.0048ce00
add esp, 0xc
lea ecx, [esp + 0x128]
call fcn.0048cc30
lea ecx, [esp + 0x100]
mov byte [esp + 0x1a8], 0x14
call fcn.0048cc30
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0048cda0
add esp, 8
lea ecx, [esp + 0x40]
test al, al
je 0x49c7d5
call fcn.0048cc30
lea ecx, [esp + 0x7c]
call fcn.0048b0f0
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49c786
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
call eax
lea ecx, [esp + 0x54]
call fcn.0048cc30
lea ecx, [esp + 0x94]
call fcn.0048cc30
lea ecx, [esp + 0x28]
call fcn.0048cc30
lea ecx, [esp + 0x68]
call fcn.0048cc30
xor al, al
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call 0x4d6b23
mov esp, ebp
pop ebp
ret 8
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xb0]
push eax
call fcn.0048ce30
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
push eax
lea edx, [esp + 0x11c]
push edx
mov byte [esp + 0x1b4], 0x15
call fcn.0048ce90
add esp, 0xc
mov ebx, eax
mov byte [esp + 0x1a8], 0x16
call fcn.004a1090
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
mov ecx, ebx
call fcn.0049bb80
lea ecx, [esp + 0x114]
call fcn.0048cc30
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1a8], 0x14
call fcn.0048cc30
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.0048ca10
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.0049cf10
lea ecx, [esp + 0x40]
call fcn.0048cc30
lea ecx, [esp + 0x7c]
call fcn.0048b0f0
mov byte [esp + 0x1a8], 6
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49c887
mov eax, dword [ecx]
mov edx, dword [eax]
push edi
call edx
lea ecx, [esp + 0x54]
call fcn.0048cc30
lea ecx, [esp + 0x94]
call fcn.0048cc30
lea ecx, [esp + 0x28]
call fcn.0048cc30
lea ecx, [esp + 0x68]
call fcn.0048cc30
mov al, 1
jmp 0x49c7af
push 0x31
push 0x40503c
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
call fcn.0048b8f0
lea eax, [esp + 0xa8]
push eax
push edi
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b0], 7
call fcn.0048c150
push 0x477bb8
lea ecx, [esp + 0x16c]
push ecx
mov dword [esp + 0x170], 0x40130c
call 0x4d66c7
int3