Function at 0x490998
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4909a0
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, dword [0x4a7b04]
xor eax, eax
push ebp
push 0x490e79
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x4a7bdc]
mov eax, dword [eax]
call fcn.0045ba70
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409b88
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0x490e90
call fcn.00404cac
mov eax, dword [ebp - 8]
call fcn.004098d0
test al, al
jne 0x490a5d
test bl, bl
jne 0x490a5d
mov eax, dword [0x4a7768]
mov eax, dword [eax]
mov edx, 0x490ea4
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4a7768]
mov eax, dword [eax]
mov edx, 0x490eb0
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x1c]
mov eax, dword [0x4a7bdc]
mov eax, dword [eax]
call fcn.0045ba70
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00409b88
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov edx, 0x490e90
call fcn.0048ea08
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x48df24]
call fcn.0048df9c
mov dword [ebp - 4], eax
jmp 0x490a6f
mov ecx, dword [edi + 8]
mov dl, 1
mov eax, dword [0x48df24]
call fcn.0048df9c
mov dword [ebp - 4], eax
test bl, bl
jne 0x490a87
cmp byte [esi + 0x28], 0
je 0x490e5e
cmp byte [esi + 0x38], 0
jne 0x490e5e
xor eax, eax
push ebp
push 0x490e57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a7768]
mov eax, dword [eax]
mov edx, 0x490ea4
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4a7768]
mov eax, dword [eax]
mov edx, 0x490ecc
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x30]
push eax
push 0
mov ecx, 0x490ef0
mov edx, 0x490f00
mov eax, dword [ebp - 4]
call fcn.0048e524
mov eax, dword [esi + 0x34]
push eax
push 0
mov ecx, 0x490f14
mov edx, 0x490f00
mov eax, dword [ebp - 4]
call fcn.0048e524
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x54]
call fcn.004092e4
mov eax, dword [ebp - 0x20]
push eax
push 0
mov ecx, 0x490f2c
mov edx, 0x490f00
mov eax, dword [ebp - 4]
call fcn.0048e524
mov eax, dword [esi + 0x58]
push eax
push 0
mov ecx, 0x490f40
mov edx, 0x490f00
mov eax, dword [ebp - 4]
call fcn.0048e524
mov eax, dword [esi + 0x5c]
push eax
push 0
mov ecx, 0x490f54
mov edx, 0x490f00
mov eax, dword [ebp - 4]
call fcn.0048e524
lea edx, [ebp - 0x24]
mov eax, dword [esi + 4]
call fcn.004092e4
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, 0x490f6c
mov edx, 0x490f80
mov eax, dword [ebp - 4]
call fcn.0048e524
lea edx, [ebp - 0x28]
mov eax, dword [esi + 8]
call fcn.004092e4
mov eax, dword [ebp - 0x28]
push eax
push 0
mov ecx, 0x490f90
mov edx, 0x490f80
mov eax, dword [ebp - 4]
call fcn.0048e524
cmp byte [esi + 0xc], 0
je 0x490ba1
push 0x490fa8
push 0
mov ecx, 0x490fb4
mov edx, 0x490fc4
mov eax, dword [ebp - 4]
call fcn.0048e524
jmp 0x490bba
push 0x490fd0
push 0
mov ecx, 0x490fb4
mov edx, 0x490fc4
mov eax, dword [ebp - 4]
call fcn.0048e524
cmp byte [esi + 0x3a], 0
je 0x490bdb
push 0x490fa8
push 0
mov ecx, 0x490fdc
mov edx, 0x490fc4
mov eax, dword [ebp - 4]
call fcn.0048e524
jmp 0x490bf4
push 0x490fd0
push 0
mov ecx, 0x490fdc
mov edx, 0x490fc4
mov eax, dword [ebp - 4]
call fcn.0048e524
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x1c]
call fcn.004092e4
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, 0x490ff4
mov edx, 0x490fc4
mov eax, dword [ebp - 4]
call fcn.0048e524
lea edx, [ebp - 0x30]
mov eax, dword [esi + 0x10]
call fcn.004092e4
mov eax, dword [ebp - 0x30]
push eax
push 0
mov ecx, 0x49100c
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x14]
call fcn.004092e4
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, 0x491034
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
fild dword [esi + 0x18]
fdiv dword [0x491044]
fdiv dword [0x491048]
call fcn.00402ff4
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.004093d0
mov eax, dword [ebp - 0x38]
push eax
push 0
mov ecx, 0x491054
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
cmp byte [esi + 0x39], 0
je 0x490cb4
push 0x490fa8
push 0
mov ecx, 0x49106c
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
jmp 0x490ccd
push 0x490fd0
push 0
mov ecx, 0x49106c
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
fild dword [esi + 0x20]
fdiv dword [0x491044]
fdiv dword [0x491048]
call fcn.00402ff4
push edx
push eax
lea eax, [ebp - 0x3c]
call fcn.004093d0
mov eax, dword [ebp - 0x3c]
push eax
push 0
mov ecx, 0x491080
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
fild dword [esi + 0x24]
fdiv dword [0x491044]
fdiv dword [0x491048]
call fcn.00402ff4
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.004093d0
mov eax, dword [ebp - 0x40]
push eax
push 0
mov ecx, 0x491094
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
mov eax, dword [esi + 0x3c]
push eax
push 0
mov ecx, 0x4910a8
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
cmp byte [esi + 0x38], 0
je 0x490d70
push 0x490fa8
push 0
mov ecx, 0x4910c0
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
cmp byte [esi + 0x28], 0
je 0x490d91
push 0x490fa8
push 1
mov ecx, 0x4910d0
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
jmp 0x490daa
push 0x490fd0
push 1
mov ecx, 0x4910d0
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
cmp byte [esi + 0x40], 0
je 0x490dcb
push 0x490fa8
push 1
mov ecx, 0x4910e4
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
jmp 0x490de4
push 0x490fd0
push 1
mov ecx, 0x4910e4
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
cmp byte [esi + 0x41], 0
je 0x490e05
push 0x490fa8
push 1
mov ecx, 0x491100
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
jmp 0x490e1e
push 0x490fd0
push 1
mov ecx, 0x491100
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
lea edx, [ebp - 0x44]
mov eax, dword [esi + 0x44]
call fcn.004092e4
mov eax, dword [ebp - 0x44]
push eax
push 1
mov ecx, 0x491118
mov edx, 0x491024
mov eax, dword [ebp - 4]
call fcn.0048e524
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490e5e
mov eax, dword [ebp - 4]
call fcn.00403b74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490e80
lea eax, [ebp - 0x44]
mov edx, 0x10
call fcn.004049a8
ret