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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x34]
push edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x928]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x1c]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x30], edi
lea eax, [eax + ecx*4]
movzx ecx, byte [edi + 8]
xor edi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ecx
mov dword [esi + 0xb8], 0
test ecx, ecx
je 0x490e75
nop word [eax + eax]
mov eax, dword [eax + edi*4]
mov edx, eax
mov dword [esp + 0x2c], eax
movzx ebx, ax
mov eax, dword [ebp + 0x10]
shr edx, 0x18
mov dword [esp + 0x1c], edx
lea eax, [eax + ebx*8]
mov dword [esp + 0x20], eax
mov eax, ebx
and eax, 0x1f
mov dword [esp + 0x14], eax
mov eax, 1
mov ecx, dword [esp + 0x14]
shl eax, cl
test dword [esp + 0x3c], eax
je 0x49077f
xor ecx, ecx
test edi, edi
je 0x49077f
nop dword [eax]
mov eax, dword [esp + 0x38]
mov edx, dword [eax + ecx*4]
movzx eax, dx
cmp eax, ebx
je 0x490765
inc ecx
cmp ecx, edi
jb 0x490750
jmp 0x49077b
shr edx, 0x18
mov edx, dword [esi + edx*4 + 0x210]
and edx, 0xfffcffff
jne 0x490814
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
bts ecx, eax
mov dword [esp + 0x3c], ecx
cmp ebx, 0x8000
jae 0x4907ad
push dword [esp + 0x20]
push esi
call fcn.00491560
add esp, 8
jmp 0x490812
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x4907c9
mov dword [esp + 0x18], 1
jmp 0x490814
cmp byte [ecx + 5], 0x46
mov bl, byte [ecx + 4]
mov dword [esp + 0x20], 0x21
jne 0x4907ed
mov ax, word [ecx + 2]
and ax, 0x10
or ax, 0x21
movzx eax, ax
mov dword [esp + 0x20], eax
and bl, 0x1f
mov word [esi + 0x78], dx
movzx eax, bl
mov ecx, 0x4600
or ax, cx
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x20]
mov word [esi + 0x7a], ax
call fcn.00471a90
mov edx, eax
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
and ecx, 0x30000
mov eax, ecx
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esi + edx*4 + 0x210], eax
test ecx, ecx
je 0x49083e
test edx, edx
je 0x49083e
mov eax, 1
jmp 0x490840
xor eax, eax
add dword [esi + 0xb8], eax
test ebx, 0x10000
je 0x490854
lea eax, [edx + 1]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x38]
inc edi
cmp edi, dword [esp + 0x10]
jb 0x490710
cmp dword [esp + 0x18], 0
je 0x490e75
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], 0
movzx ecx, word [eax + 4]
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx*8]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov edi, dword [edx + ecx*4]
mov eax, dword [ebp + 0x10]
movzx ecx, di
cmp byte [eax + ecx*8 + 6], 0xfd
lea ebx, [eax + ecx*8]
mov dword [esp + 0x2c], ecx
jne 0x490a1f
shr edi, 0x18
cmp dword [esi + edi*4 + 0x210], edi
jne 0x490a5a
movzx ecx, word [ebx]
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], 1
cmp ecx, eax
jb 0x4908eb
push ecx
push edi
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.00491430
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov edx, dword [esp + 0x38]
movzx ecx, word [ebx + 2]
cmp ecx, eax
jb 0x490904
push ecx
push edi
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.00491430
add esp, 0x18
cmp byte [ebx + 5], 0x53
jne 0x49093f
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [ebp + 8]
jae 0x490a56
cmp byte [ebx + 0xd], 0x10
jne 0x490a56
movzx eax, word [ebx + 0xa]
push eax
push edi
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.00491430
add esp, 0x18
jmp 0x490a56
mov edx, dword [esp + 0x14]
lea edi, [ebx + 8]
cmp edi, edx
jae 0x490a56
nop
cmp byte [edi + 6], 0xfe
jne 0x490a12
mov al, byte [edi + 7]
cmp al, 0xff
je 0x49096d
movzx eax, al
xor ecx, ecx
lea eax, [ebx + eax*8]
cmp eax, edi
jmp 0x4909af
mov al, byte [edi + 5]
cmp al, 0x49
je 0x490984
cmp al, 0x4a
je 0x490984
cmp al, 0x4c
je 0x490984
cmp al, 0x4d
je 0x490984
xor ecx, ecx
jmp 0x4909b2
mov ecx, dword [ebp + 0x10]
movzx eax, word [edi]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x49099b
cmp dl, 0x39
jne 0x4909a1
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
mov edx, dword [esp + 0x14]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, ebx
sete cl
test ecx, ecx
je 0x490a12
movzx eax, word [edi + 2]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.00491430
add esp, 0x18
test eax, eax
jne 0x4909e2
movzx ecx, word [edi + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
jmp 0x4909f7
mov edx, dword [esp + 0x14]
lea eax, [edi + 8]
cmp eax, edx
jae 0x490a12
cmp byte [edi + 0xd], 0x10
jne 0x490a12
movzx eax, word [edi + 0xa]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.00491430
mov edx, dword [esp + 0x2c]
add esp, 0x18
add edi, 8
cmp edi, edx
jb 0x490950
jmp 0x490a56
cmp ecx, 0x8000
jb 0x490a5a
movzx eax, word [ebx + 6]
and eax, 0xffffff80
cmp eax, 0x80
jne 0x490a5a
movzx eax, word [ebx]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.00491430
add esp, 0x18
shr edi, 0x18
mov dword [esi + edi*4 + 0x210], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, eax
jb 0x490892
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x18], ecx
je 0x490e75
nop
cmp ecx, eax
jae 0x490e75
mov ecx, dword [edx + ecx*4]
mov eax, dword [ebp + 0x10]
movzx ebx, cx
cmp byte [eax + ebx*8 + 6], 0xfd
lea edi, [eax + ebx*8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], edi
jne 0x490e63
shr ecx, 0x18
lea ebx, [esi + 0x210]
mov eax, dword [ebx + ecx*4]
lea ebx, [ebx + ecx*4]
mov dword [esp + 0x20], ebx
cmp eax, ecx
je 0x490ad6
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + eax*4 + 0x210]
inc ecx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
jmp 0x490a80
movzx ebx, word [edi]
mov eax, dword [ebp + 0x14]
cmp ebx, eax
jb 0x490afd
push ebx
push dword [esp + 0x40]
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.00491430
mov edx, dword [esp + 0x50]
mov ebx, eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
movzx edi, word [edi + 2]
cmp edi, eax
jb 0x490b1b
push edi
push dword [esp + 0x40]
push dword [esp + 0x18]
push edx
push ebp
push esi
call fcn.00491430
add esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 5], 0x53
jne 0x490bb7
mov ecx, dword [esp + 0x28]
inc ecx
cmp ecx, dword [ebp + 8]
jae 0x490b7c
cmp byte [eax + 0xd], 0x10
jne 0x490b7c
mov byte [esi + 0x134], 1
movzx eax, word [eax + 0xa]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.00491430
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], di
mov word [esi + 0x7a], ax
call fcn.00471a90
mov edi, eax
mov eax, dword [esp + 0x1c]
mov ax, word [eax + 4]
mov ecx, 0xff9f
and ax, cx
mov word [esi + 0x78], bx
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x7a], di
call fcn.0047ba80
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x490a80
mov ax, word [eax + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov word [esi + 0x78], bx
mov word [esi + 0x7a], di
call fcn.0047ba80
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
lea ebx, [edi + 8]
cmp ebx, eax
jae 0x490e5f
nop dword [eax + eax]
cmp byte [ebx + 6], 0xfe
jne 0x490e30
mov al, byte [ebx + 7]
cmp al, 0xff
je 0x490c0d
movzx eax, al
xor ecx, ecx
lea eax, [edi + eax*8]
cmp eax, ebx
jmp 0x490c4b
mov al, byte [ebx + 5]
cmp al, 0x49
je 0x490c24
cmp al, 0x4a
je 0x490c24
cmp al, 0x4c
je 0x490c24
cmp al, 0x4d
je 0x490c24
xor ecx, ecx
jmp 0x490c4e
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebx]
mov dl, byte [ecx + eax*8 + 5]
lea eax, [ecx + eax*8]
cmp dl, 0x38
je 0x490c3b
cmp dl, 0x39
jne 0x490c41
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx eax, word [eax]
lea eax, [ecx + eax*8]
xor ecx, ecx
cmp eax, edi
sete cl
test ecx, ecx
je 0x490e2c
movzx eax, word [ebx]
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + eax*8 + 2]
lea edi, [ecx + eax*8]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov al, byte [edi + 5]
cmp al, 0x3e
je 0x490ce6
lea ecx, [ecx + edx*8]
cmp al, 0x39
jne 0x490c9e
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.00491560
add esp, 8
push eax
push esi
call fcn.00473da0
add esp, 0xc
jmp 0x490ca8
push ecx
push esi
call fcn.00491560
add esp, 8
mov edx, eax
mov al, byte [edi + 5]
mov dword [esp + 0x20], edx
cmp al, 0x39
je 0x490cb9
cmp al, 0x38
jne 0x490ce6
movzx ecx, word [edi]
mov eax, dword [ebp + 0x10]
movzx edx, word [eax + ecx*8 + 2]
mov ax, word [eax + ecx*8 + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x24]
mov word [esi + 0x78], ax
mov word [esi + 0x7a], dx
call fcn.0047ba80
mov edx, dword [esp + 0x20]
jmp 0x490cea
mov eax, dword [esp + 0x28]
mov cx, word [edi + 4]
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], ax
mov word [esi + 0x7a], dx
call fcn.0047ba80
movzx ecx, word [ebx + 2]
push ecx
push dword [esp + 0x40]
mov dword [esp + 0x30], eax
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.00491430
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x490d80
movzx ecx, word [ebx + 2]
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + ecx*8]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.00491430
add esp, 0x18
mov dword [esi + 0x7a], 0x5a0e01d3
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.0047ba80
mov edi, eax
mov ax, word [ebx + 4]
mov ecx, esi
mov word [esi + 0x7c], ax
mov eax, dword [esp + 0x28]
mov word [esi + 0x78], ax
mov word [esi + 0x7a], di
call fcn.0047ba80
mov edi, dword [esp + 0x1c]
jmp 0x490e50
lea eax, [ebx + 8]
cmp eax, dword [esp + 0x14]
jae 0x490d5c
cmp byte [ebx + 0xd], 0x10
jne 0x490d5c
mov byte [esi + 0x134], 1
mov edx, 0x8000
movzx ecx, word [ebx + 2]
cmp cx, dx
jae 0x490dcb
movzx eax, word [ebx + 0xa]
cmp ax, dx
jae 0x490dcb
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + eax*8]
cdq
xor edx, edx
add edx, dword [edi + ecx*8]
adc eax, 0
push eax
push edx
push 0x1d
push esi
call fcn.00473a20
add esp, 0x10
jmp 0x490e01
movzx eax, word [ebx + 0xa]
push eax
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [esp + 0x44]
push ebp
push esi
call fcn.00491430
mov ecx, 0x1015
movzx eax, ax
add esp, 0x18
mov word [esi + 0x7c], cx
mov ecx, esi
mov word [esi + 0x78], di
mov word [esi + 0x7a], ax
call fcn.00471a90
mov ecx, eax
movzx eax, byte [ebx + 5]
shl ax, 8
or ax, 0x15
mov word [esi + 0x7a], cx
mov word [esi + 0x7c], ax
mov ecx, esi
mov eax, dword [esp + 0x28]
mov word [esi + 0x78], ax
call fcn.0047ba80
mov edi, dword [esp + 0x1c]
jmp 0x490e50
mov eax, dword [esp + 0x14]
cmp byte [ebx + 5], 0x59
jne 0x490e54
cmp byte [edi + 5], 0x52
jne 0x490e54
xor eax, eax
mov dword [esi + 0x7a], 0x59000000
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.0047ba80
mov eax, dword [esp + 0x14]
add ebx, 8
cmp ebx, eax
jb 0x490bf0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x490a80
mov ecx, dword [esi + 0x70]
lea eax, [esi + 0x210]
mov ebx, dword [esi + 0x18]
lea eax, [eax + ecx*4]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 6]
sub eax, ecx
mov dword [esi + 0x6c], eax
movzx eax, word [esi + 6]
mov edi, eax
mov ebp, eax
test edi, edi
je 0x490eb0
mov eax, dword [esi + 0x1c]
lea ecx, [edi + edi*2]
movzx eax, word [eax + ecx*4 - 8]
cmp eax, dword [esi + 8]
je 0x490ebc
cmp byte [esi + 0x74], 0
je 0x490ed5
cmp byte [esi + 0x76], 0
jl 0x490ed5
cmp edi, 1
jne 0x490ef2
xor eax, eax
mov dword [esi + 0x7a], 0xc000000
mov ecx, esi
mov word [esi + 0x78], ax
call fcn.00471a90
lea eax, [edi + 1]
cmp eax, dword [esi + 0x120]
lea edx, [esi + 0x120]
jbe 0x490f1c
mov ecx, dword [esi + 0x61c]
cmp eax, ecx
ja 0x490f68
jmp 0x490efe
mov ecx, dword [esi + 0x1c]
dec edi
lea eax, [edi + edi*2]
mov ebx, dword [ecx + eax*4]
jmp 0x490f26
push 0xc
push ecx
push edx
push dword [esi + 0x124]
push dword [esi + 0x54]
call fcn.00471730
add esp, 0x14
mov dword [esi + 0x124], eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x1c]
lea eax, [ebp + 1]
mov word [esi + 6], ax
lea eax, [edi + edi*2]
mov byte [esi + 0x74], 0
push ebx
lea eax, [ecx + eax*4]
mov byte [esi + 0x76], 0
push eax
push esi
call fcn.00492330
add esp, 0xc
cmp dword [esp + 0x18], 0
pop edi
je 0x490f61
xor eax, eax
mov dword [esi + 0x7a], 0xf800000
mov word [esi + 0x78], ax
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
jmp fcn.00471a90
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 4
push esi
call fcn.00498e20
int3