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

Disassembly:
push 0xffffffffffffffff
push 0x4f20e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov al, 8
push ebx
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov byte [esp + 0x18], al
mov al, 9
push ebp
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], al
push esi
mov al, 0xb
push edi
mov edi, ecx
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], al
mov al, 0xa
mov cl, 7
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], al
mov bl, 4
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x31], cl
mov byte [esp + 0x33], cl
mov al, 0x10
push 6
push 0x512a94
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], edi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 5
mov byte [esp + 0x22], 5
mov byte [esp + 0x23], 5
mov byte [esp + 0x24], 5
mov byte [esp + 0x25], 6
mov byte [esp + 0x26], 6
mov byte [esp + 0x3a], 6
mov byte [esp + 0x3c], 0
mov byte [esp + 0x3d], 0x40
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 1
mov byte [esp + 0x41], 0x40
mov byte [esp + 0x42], al
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], 1
mov byte [esp + 0x45], al
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], 0x40
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], 1
mov byte [esp + 0x4d], 0x40
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 1
mov byte [esp + 0x51], 0x40
mov byte [esp + 0x52], al
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], 1
mov byte [esp + 0x55], 0x40
mov byte [esp + 0x56], 1
mov byte [esp + 0x57], al
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], 1
mov byte [esp + 0x5b], 0x40
call fcn.004bea10
mov al, byte [edi + 0x44]
xor esi, esi
test al, al
mov dword [esp + 0xac], esi
push 6
je 0x499071
push 0x512a8c
lea ecx, [esp + 0x68]
call fcn.004bea10
mov ecx, dword [edi + 0x88]
lea esi, [edi + 0x80]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0xb8], 3
call fcn.004126e0
lea ecx, [esp + 0x60]
mov byte [esp + 0xac], 0
call fcn.004beab0
push 6
push 0x512a84
lea ecx, [esp + 0x64]
call fcn.004bea10
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0xb8], bl
call fcn.004126e0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], 0
call fcn.004beab0
xor eax, eax
mov al, byte [edi + 0x44]
movzx cx, byte [esp + eax + 0x14]
push ecx
lea ecx, [edi + 0x78]
call fcn.004bec90
xor edx, edx
mov dl, byte [edi + 0x44]
test byte [esp + edx + 0x34], al
je 0x498eed
push ecx
mov byte [0x5201a9], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512a8c
call fcn.004bea10
lea eax, [esp + 0x68]
push eax
call fcn.004d0560
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x4f73d0]
mov ebx, eax
mov byte [esp + 0xac], 5
cmp ecx, ebx
lea ebp, [edi + 0x68]
jae 0x498dfd
mov ebx, ecx
cmp ebp, esi
jne 0x498e1a
push ecx
push ebx
mov ecx, ebp
call fcn.00412150
push 0
push 0
mov ecx, ebp
call fcn.00412150
jmp 0x498e9e
test ebx, ebx
jbe 0x498e62
cmp ebx, eax
jne 0x498e62
mov eax, dword [esi + 4]
test eax, eax
jne 0x498e2e
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x498e62
push 1
mov ecx, ebp
call fcn.00411e90
mov eax, dword [esi + 4]
test eax, eax
jne 0x498e49
mov eax, 0x4f7480
mov dword [ebp + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebp + 8], ecx
mov esi, dword [esi + 0xc]
mov dword [ebp + 0xc], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x498e9e
push 1
push ebx
mov ecx, ebp
call fcn.00412290
test al, al
je 0x498e9e
mov esi, dword [esi + 4]
test esi, esi
jne 0x498e7c
mov esi, 0x4f7480
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x58]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xac], 0
je 0x498edc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x498ed3
cmp al, 0xff
je 0x498ed3
dec al
mov byte [ecx], al
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
jmp 0x499056
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
jmp 0x499056
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512a84
call fcn.004bea10
lea eax, [esp + 0x78]
push eax
call fcn.004d0560
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x4f73d0]
mov ebp, eax
mov byte [esp + 0xac], 6
cmp ecx, ebp
lea ebx, [edi + 0x68]
jae 0x498f2b
mov ebp, ecx
cmp ebx, esi
jne 0x498f93
mov eax, dword [ebx + 8]
mov esi, ecx
cmp eax, ebp
jae 0x498f3d
call fcn.004ded47
mov ecx, ebx
call fcn.00412f70
mov eax, dword [ebx + 8]
sub eax, ebp
cmp eax, esi
jae 0x498f4f
mov esi, eax
test esi, esi
jbe 0x498f83
mov ecx, dword [ebx + 4]
sub eax, esi
add ebp, ecx
push eax
lea ecx, [esi + ebp]
push ecx
push ebp
call fcn.004df480
mov ebp, dword [ebx + 8]
add esp, 0xc
sub ebp, esi
mov ecx, ebx
push 0
push ebp
call fcn.00412290
test al, al
je 0x498f83
push ebp
mov ecx, ebx
call fcn.00412270
push 0
push 0
mov ecx, ebx
call fcn.00412150
jmp 0x499018
test ebp, ebp
jbe 0x498fdb
cmp ebp, eax
jne 0x498fdb
mov eax, dword [esi + 4]
test eax, eax
jne 0x498fa7
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x498fdb
push 1
mov ecx, ebx
call fcn.00411e90
mov eax, dword [esi + 4]
test eax, eax
jne 0x498fc2
mov eax, 0x4f7480
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov esi, dword [esi + 0xc]
mov dword [ebx + 0xc], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x499018
push 1
push ebp
mov ecx, ebx
call fcn.00412290
test al, al
je 0x499018
mov esi, dword [esi + 4]
test esi, esi
jne 0x498ff5
mov esi, 0x4f7480
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x58]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
mov eax, dword [esp + 0x78]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xac], 0
je 0x499047
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49903e
cmp al, 0xff
je 0x49903e
dec al
mov byte [ecx], al
jmp 0x499047
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
xor eax, eax
mov al, byte [edi + 0x44]
mov cl, byte [esp + eax + 0x34]
mov dl, byte [esp + eax + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.004a30d0
jmp 0x4991c5
lea ecx, [edi + 0x78]
call fcn.004bec90
test al, 0x40
je 0x499126
push ecx
mov byte [0x5201a9], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512a7c
call fcn.004bea10
lea eax, [esp + 0x98]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xac], 1
push ecx
push esi
push eax
lea ecx, [edi + 0x68]
call fcn.00411c90
mov eax, dword [esp + 0x98]
mov byte [esp + 0xac], 0
cmp eax, esi
je 0x49910c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x499103
cmp al, 0xff
je 0x499103
dec al
mov byte [ecx], al
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
jmp 0x4991a7
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
jmp 0x4991a7
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x512a74
call fcn.004bea10
lea edx, [esp + 0x88]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xac], 2
push ecx
push esi
push eax
lea ecx, [edi + 0x68]
call fcn.00411c90
mov eax, dword [esp + 0x88]
mov byte [esp + 0xac], 0
cmp eax, esi
je 0x499192
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x499189
cmp al, 0xff
je 0x499189
dec al
mov byte [ecx], al
jmp 0x499192
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004be980
push 3
push 0x40
push 6
mov ecx, edi
call fcn.004a2e40
lea ecx, [esp + 0x54]
mov esi, eax
mov dword [esp + 0xac], 0xffffffff
call fcn.004beab0
mov ecx, dword [esp + 0xa4]
mov ax, si
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret