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

Disassembly:
push 0xffffffffffffffff
push 0x4a60dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [esp + 0xe4]
xor ebx, ebx
push eax
mov dword [esp + 0x118], ebx
call fcn.00476fc8
add esp, 4
push 0x4ce224
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x120], 1
call fcn.0050d60c
lea ecx, [esp + 0xe4]
mov byte [esp + 0x114], 3
call fcn.0050d468
push ebx
lea ecx, [esp + 0xd8]
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 4
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x100]
mov byte [esp + 0x118], 5
call fcn.004b3b78
lea ecx, [esp + 0x3c]
mov byte [esp + 0x114], 6
call fcn.004af1d8
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 7
call fcn.0050d46e
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 8
call fcn.0050d46e
push ebx
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 9
call fcn.0050d492
mov edx, eax
mov al, byte [esp + 0x3b]
or esi, 0xffffffff
mov byte [esp + 0xec], al
mov edi, edx
mov ecx, esi
xor eax, eax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0xf4]
call dword [0x4b4618]
lea ecx, [esp + 0xd4]
push 1
lea edx, [esp + 0xf0]
push ecx
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x120], 0xa
call fcn.004af268
and eax, 0xff
mov edi, eax
mov eax, dword [esp + 0xf0]
cmp eax, ebx
mov byte [esp + 0x114], 9
je 0x481253
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48124a
cmp al, 0xff
je 0x48124a
dec al
mov byte [ecx], al
jmp 0x481253
push ecx
call fcn.0050d474
add esp, 4
push esi
lea ecx, [esp + 0x120]
call fcn.0050d48c
cmp edi, ebx
jne 0x481325
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 8
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 7
call fcn.0050d468
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x118], 0xd
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x118], 0xc
call dword [fcn.004b461c]
mov eax, dword [esp + 0x98]
mov byte [esp + 0x114], 0xb
cmp eax, ebx
je 0x4812dd
lea ecx, [esp + 0x6c]
call fcn.00494e58
cmp dword [esp + 0x98], ebx
jne 0x4812cb
mov eax, dword [esp + 0x68]
mov byte [esp + 0x114], 6
cmp eax, ebx
je 0x4813ea
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
add ecx, 4
dec eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], eax
je 0x481311
mov eax, ecx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x48131a
lea ecx, [esp + 0x3c]
call fcn.004951f8
cmp dword [esp + 0x68], ebx
jne 0x4812f1
jmp 0x4813ea
lea ecx, [esp + 0xd4]
call fcn.004b4318
cmp eax, 6
je 0x48144e
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 8
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 7
call fcn.0050d468
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x118], 0x10
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x118], 0xf
call dword [fcn.004b461c]
mov eax, dword [esp + 0x98]
mov byte [esp + 0x114], 0xe
cmp eax, ebx
je 0x4813af
lea ecx, [esp + 0x6c]
call fcn.00494e58
cmp dword [esp + 0x98], ebx
jne 0x48139d
mov eax, dword [esp + 0x68]
mov byte [esp + 0x114], 6
cmp eax, ebx
je 0x4813ea
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
add ecx, 4
dec eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], eax
je 0x4813db
cmp ecx, dword [esp + 0x44]
jne 0x4813e4
lea ecx, [esp + 0x3c]
call fcn.004951f8
cmp dword [esp + 0x68], ebx
jne 0x4813bf
lea ecx, [esp + 0xfc]
mov byte [esp + 0x114], 5
call fcn.004b4098
lea ecx, [esp + 0x28]
mov byte [esp + 0x114], 4
call fcn.004b4098
lea ecx, [esp + 0xd4]
mov byte [esp + 0x114], 3
call fcn.004b4098
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 0
call fcn.0050d468
lea ecx, [esp + 0x11c]
mov dword [esp + 0x114], esi
call fcn.0050d468
xor eax, eax
jmp 0x481c42
xor esi, esi
lea ecx, [esp + 0xd4]
mov dword [esp + 0x24], esi
call fcn.004b4e58
test eax, eax
jbe 0x4816a9
mov edi, dword [esp + 0x120]
jmp 0x481473
xor ebx, ebx
push esi
lea ecx, [esp + 0xd8]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x2c]
call fcn.004b4218
lea ecx, [esp + 0x28]
call fcn.004b4318
cmp eax, 7
jne 0x481854
push 0x4d0d48
lea ecx, [esp + 0x2c]
call fcn.004b5078
push eax
call fcn.00477948
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48168a
mov edx, dword [edi]
mov esi, ebx
shl esi, 7
mov dword [edx + esi], 1
mov eax, dword [edi]
mov ecx, dword [ebp + 0x108]
add eax, esi
cmp ecx, dword [eax + 0x40]
sbb edx, edx
inc edx
mov dword [eax + 8], edx
mov eax, dword [edi]
lea ecx, [eax + esi + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.0050d5e8
push 0x4d0d40
lea ecx, [esp + 0x2c]
call fcn.004b5078
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00477a28
add esp, 8
push eax
mov eax, dword [edi]
mov byte [esp + 0x118], 0x14
lea ecx, [eax + esi + 0x18]
call fcn.0050d5e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 9
call fcn.0050d468
push 0x4d0dc4
lea ecx, [esp + 0x2c]
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + esi + 0x1c], eax
push 0x4d0db8
lea ecx, [esp + 0x2c]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [edi]
add esp, 4
lea ecx, [esp + 0x28]
push 0x4d0da8
mov dword [edx + esi + 0x20], eax
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + esi + 0x24], eax
push 0x4d0da0
lea ecx, [esp + 0x2c]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [edi]
add esp, 4
lea ecx, [esp + 0x28]
push 0x4d0a7c
mov dword [edx + esi + 0x28], eax
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + esi + 0x2c], eax
push 0x4d0a68
lea ecx, [esp + 0x2c]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [edi]
add esp, 4
push 0x4d0b10
lea ecx, [esp + 0x2c]
mov dword [edx + esi + 0x30], eax
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + esi + 0x34], eax
push 0x4d0d98
lea ecx, [esp + 0x2c]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [edi]
add esp, 4
lea ecx, [esp + 0x28]
push 0x4d0d90
mov dword [edx + esi + 0x38], eax
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + esi + 0x3c], eax
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x48168a
push ebx
lea edx, [esp + 0x14]
push 0x4ce1a8
push edx
call fcn.0050d5e2
mov eax, dword [edi]
add esp, 0xc
add esi, eax
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4d0b60
push ecx
call fcn.0050d5e2
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edx
push eax
push ecx
push 0x4d0b6c
call dword [fcn.004b4098]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xd4]
inc esi
mov dword [esp + 0x24], esi
call fcn.004b4e58
cmp esi, eax
jb 0x481471
xor ebx, ebx
push 0x4de504
lea ecx, [esp + 0x18]
call fcn.0050d618
mov eax, dword [esp + 0x14]
mov esi, dword [fcn.004b46f0]
push 0x4d85a8
push eax
mov byte [esp + 0x11c], 0x15
call esi
add esp, 8
test eax, eax
je 0x48199f
lea ecx, [esp + 0x20]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.0050d6de
mov eax, dword [eax]
push 0x4ce5cc
push eax
call esi
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call fcn.0050d468
test bl, bl
je 0x481719
push 0x4ce5cc
lea ecx, [esp + 0x18]
call fcn.0050d6a8
xor edi, edi
lea ecx, [esp + 0x14]
push edi
push 0x4ce5cc
call fcn.0050d7bc
mov ebx, eax
test ebx, ebx
jl 0x48199d
mov edx, ebx
lea eax, [esp + 0x20]
sub edx, edi
lea ecx, [esp + 0x14]
push edx
push edi
push eax
call fcn.0050d6b4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x118], 0x16
call fcn.0050d5e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 0x15
call fcn.0050d468
lea ecx, [esp + 0x10]
call fcn.0050d62a
lea ecx, [esp + 0x10]
call fcn.0050d624
mov ecx, dword [esp + 0x10]
push 0x4d85a8
push ecx
call esi
add esp, 8
test eax, eax
je 0x481981
mov eax, dword [ebp + 0x9a8]
xor edi, edi
test eax, eax
jbe 0x4817da
xor esi, esi
mov edx, dword [ebp + 0x9a4]
mov ecx, dword [esp + 0x10]
push ecx
lea eax, [esi + edx + 0x18]
mov eax, dword [esi + edx + 0x18]
push eax
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
je 0x4817d4
mov eax, dword [ebp + 0x9a8]
inc edi
add esi, 0x80
cmp edi, eax
jb 0x4817a2
mov esi, dword [fcn.004b46f0]
cmp edi, dword [ebp + 0x9a8]
jne 0x481970
lea edx, [esp + 0x10]
lea eax, [esp + 0xe8]
push edx
push 0x4d0d84
push eax
call fcn.0050d612
push 0x4d0d60
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x120], 0x17
call fcn.0050d60c
mov eax, dword [eax]
mov edx, dword [ebp]
push eax
push 4
mov ecx, ebp
mov byte [esp + 0x11c], 0x18
call dword [edx + 8]
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 0x17
call fcn.0050d468
lea ecx, [esp + 0xe8]
mov byte [esp + 0x114], 0x15
call fcn.0050d468
jmp 0x481981
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 8
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 7
call fcn.0050d468
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x118], 0x13
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x118], 0x12
call dword [fcn.004b461c]
mov eax, dword [esp + 0x98]
mov byte [esp + 0x114], 0x11
cmp eax, ebx
je 0x4818c9
lea ecx, [esp + 0x6c]
call fcn.00494e58
cmp dword [esp + 0x98], ebx
jne 0x4818b7
mov eax, dword [esp + 0x68]
mov byte [esp + 0x114], 6
cmp eax, ebx
je 0x481908
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
add ecx, 4
dec eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], eax
je 0x4818f9
mov eax, dword [esp + 0x44]
mov edx, ecx
cmp edx, eax
jne 0x481902
lea ecx, [esp + 0x3c]
call fcn.004951f8
cmp dword [esp + 0x68], ebx
jne 0x4818d9
lea ecx, [esp + 0xfc]
mov byte [esp + 0x114], 5
call fcn.004b4098
lea ecx, [esp + 0x28]
mov byte [esp + 0x114], 4
call fcn.004b4098
lea ecx, [esp + 0xd4]
mov byte [esp + 0x114], 3
call fcn.004b4098
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 0
call fcn.0050d468
lea ecx, [esp + 0x11c]
mov dword [esp + 0x114], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x481c42
mov eax, dword [ebp + 0x9a4]
shl edi, 7
mov dword [eax + edi + 8], 0
lea edi, [ebx + 1]
lea ecx, [esp + 0x14]
push edi
push 0x4ce5cc
call fcn.0050d7bc
mov ebx, eax
test ebx, ebx
jge 0x481734
xor ebx, ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x114], 9
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 8
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 7
call fcn.0050d468
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x114], 0x19
cmp eax, ebx
je 0x481a02
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4819f9
cmp al, 0xff
je 0x4819f9
dec al
mov byte [ecx], al
jmp 0x481a02
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc4], ebx
cmp eax, ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
je 0x481a3f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x481a36
cmp al, 0xff
je 0x481a36
dec al
mov byte [ecx], al
jmp 0x481a3f
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa0], ebx
cmp eax, ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
je 0x481b33
mov ecx, dword [esp + 0x78]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0x7c], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0x98]
dec eax
mov dword [esp + 0x98], eax
je 0x481a9c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jne 0x481b26
mov eax, dword [esp + 0x7c]
mov ecx, eax
add eax, 4
mov dword [esp + 0x7c], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0x9c]
add esp, 4
cmp eax, ebx
jne 0x481b0a
xor edx, edx
xor eax, eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x90]
xor ecx, ecx
xor esi, esi
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], esi
call fcn.0050d474
add esp, 4
xor ebx, ebx
jmp 0x481b26
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x74], edx
cmp dword [esp + 0x98], ebx
jne 0x481a63
cmp dword [esp + 0x68], ebx
je 0x481bdc
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
add ecx, 4
dec eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], eax
je 0x481b5d
mov eax, ecx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x481bd2
mov ecx, dword [esp + 0x4c]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x4c], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x6c]
add esp, 4
cmp eax, ebx
jne 0x481bb6
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x60]
xor edx, edx
xor esi, esi
push ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
call fcn.0050d474
add esp, 4
xor ebx, ebx
jmp 0x481bd2
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x44], edx
cmp dword [esp + 0x68], ebx
jne 0x481b3d
lea ecx, [esp + 0xfc]
mov byte [esp + 0x114], 5
call fcn.004b4098
lea ecx, [esp + 0x28]
mov byte [esp + 0x114], 4
call fcn.004b4098
lea ecx, [esp + 0xd4]
mov byte [esp + 0x114], 3
call fcn.004b4098
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 0
call fcn.0050d468
lea ecx, [esp + 0x11c]
mov dword [esp + 0x114], 0xffffffff
call fcn.0050d468
mov eax, 1
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x108
ret 8