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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x54f990]
xor eax, dword [esp + 0xa4]
push ebx
push ebp
mov dword [esp + 0xa8], eax
mov al, byte [esp + 0xb0]
test al, al
push esi
push edi
mov ebp, ecx
jne 0x491e5e
mov byte [ebp], 0
xor eax, eax
mov ecx, 0x24
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
push 0x90
lea eax, [esp + 0x24]
push eax
mov ecx, 0x5b72f4
call fcn.0044be80
mov eax, dword [esp + 0x6c]
fld dword [esp + 0x70]
mov edx, dword [esp + 0x20]
fcomp dword [0x521418]
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setl cl
lea edi, [ebp + 8]
lea esi, [esp + 0x24]
mov dword [ebp + 0x1d4], edx
dec ecx
and ecx, eax
mov eax, dword [esp + 0x68]
mov dword [ebp + 0x4c], eax
fnstsw ax
mov dword [ebp + 0x58], ecx
test ah, 0x41
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
jne 0x491eea
fld dword [esp + 0x70]
fcomp dword [0x522554]
fnstsw ax
test ah, 5
jp 0x491ef2
fld dword [esp + 0x70]
fcomp dword [0x521418]
fnstsw ax
test ah, 0x41
jne 0x491eea
fld dword [esp + 0x70]
jmp 0x491ef8
fld dword [0x521418]
jmp 0x491ef8
fld dword [0x522554]
mov cl, byte [esp + 0x78]
fstp dword [ebp + 0x54]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov byte [ebp + 0x60], cl
mov ecx, dword [esp + 0x84]
mov dword [ebp + 0x74], ecx
mov ecx, dword [esp + 0x90]
mov dword [ebp + 0x6c], edx
mov edx, dword [esp + 0x88]
mov dword [ebp + 0x70], eax
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0xac], ecx
mov ecx, dword [ebp + 0x1c0]
cmp ecx, ebx
mov dword [ebp + 0x78], edx
mov edx, dword [esp + 0x94]
mov dword [ebp + 0x7c], eax
mov eax, dword [esp + 0x98]
mov dword [ebp + 4], ebx
mov dword [ebp + 0xb0], edx
mov dword [ebp + 0x598], eax
je 0x491f86
mov edx, dword [ecx + 0x48]
mov eax, dword [ebp + 0x98]
sub eax, edx
cmp ecx, ebx
mov dword [ebp + 0x98], eax
je 0x491f86
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp + 0x1c0], ebx
push 0x50
call fcn.00514cc5
add esp, 4
cmp eax, ebx
je 0x491fb4
mov dword [eax], 0x5257bc
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ebx
jmp 0x491fb6
xor eax, eax
mov dl, byte [esp + 0xb8]
xor ecx, ecx
test dl, dl
sete cl
mov dword [ebp + 0x1c0], eax
lea ecx, [ecx*4 + 1]
push ecx
mov ecx, eax
call fcn.0044ff00
mov edx, dword [ebp + 0x1c0]
mov eax, dword [edx + 0x48]
mov ecx, dword [ebp + 0x98]
add ecx, eax
cmp dword [esp + 0x20], ebx
mov dword [ebp + 0x98], ecx
je 0x491ffd
mov ecx, ebp
call fcn.00491b00
mov dword [ebp + 0xbc], ebx
mov ecx, dword [ebp + 0x1c0]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xb4], edx
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [eax + 0x34]
mov dword [ebp + 0xc0], ecx
mov edx, dword [ebp + 0x1c0]
mov dword [ebp + 0x134], 1
mov dword [edx + 0x18], ebx
cmp byte [ebp], 0
je 0x4920b7
cmp dword [esp + 0x20], ebx
je 0x4920b7
mov dword [ebp + 0x140], ebx
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [eax + 0x34]
shl ecx, 1
push ecx
call fcn.00514cc5
add esp, 4
push 1
mov dword [ebp + 0x138], eax
mov ecx, dword [ebp + 0x1c0]
push ebx
call fcn.0044f700
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [eax + 0x34]
mov esi, dword [eax + 0x14]
mov edi, dword [ebp + 0x138]
shl ecx, 1
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x1c0]
push ebx
call fcn.0044f770
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [eax + 0x34]
mov dword [ebp + 0x144], ecx
mov dword [ebp + 0x1b8], 1
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
mov dword [esp + 0x10], ebx
jle 0x492181
lea ebx, [ebp + 0x1d8]
lea ecx, [ecx]
push 0x40
push ebx
mov ecx, 0x5b72f4
call fcn.0044be80
lea edx, [ebx + 4]
push edx
call dword [0x521220]
mov eax, dword [ebx]
add esp, 4
dec eax
cmp eax, 0xe
ja case.default.0x4920fd
movzx eax, byte [eax + 0x492318]
jmp dword [eax*4 + 0x492308]
mov eax, 4
lea esi, [ebx + 0x10]
mov edi, eax
mov edi, edi
mov eax, dword [esi + 4]
test eax, eax
je 0x492137
mov ecx, dword [esi]
shl ecx, 1
push ecx
call fcn.00514cc5
mov edx, dword [esi]
add esp, 4
shl edx, 1
push edx
push eax
mov ecx, 0x5b72f4
mov dword [esi + 4], eax
call fcn.0044be80
mov eax, dword [esi]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.00514cc5
mov ecx, dword [esi]
lea ecx, [ecx + ecx*2]
add esp, 4
shl ecx, 3
push ecx
push eax
mov ecx, 0x5b72f4
mov dword [esi + 8], eax
call fcn.0044be80
add esi, 0xc
dec edi
jne 0x492110
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc eax
add ebx, 0x40
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4920d0
xor ebx, ebx
cmp ecx, ebx
mov eax, dword [ebp + 0x7c]
setg dl
cmp eax, ebx
mov byte [ebp + 1], dl
jle 0x4921e5
cmp eax, 2
jg 0x4921e5
mov eax, dword [ebp + 0x94]
cmp eax, ebx
je 0x4921ac
push eax
call fcn.00514cf6
add esp, 4
mov dword [ebp + 0x94], ebx
mov eax, dword [ebp + 0x1c0]
mov eax, dword [eax + 0x34]
lea ecx, [eax + eax*2]
shl ecx, 2
push ecx
call fcn.00514cc5
mov edx, dword [ebp + 0x1c0]
mov dword [ebp + 0x94], eax
mov ecx, dword [edx + 0x34]
lea ecx, [ecx + ecx*2]
add esp, 4
shl ecx, 2
push ecx
push eax
mov ecx, 0x5b72f4
call fcn.0044be80
mov eax, dword [ebp + 0x598]
xor edi, edi
cmp eax, ebx
jle 0x4922bf
lea esi, [ebp + 0x2d8]
jmp 0x492200
cmp edi, ebx
jl 0x4922df
cmp edi, 8
jge 0x4922df
push 0x4d
push esi
mov ecx, 0x5b72f4
call fcn.0044be80
mov edx, dword [esi]
shl edx, 1
push edx
call fcn.00514cc5
mov dword [esi + 0x50], eax
mov eax, dword [esi]
mov ecx, dword [esi + 0x50]
add esp, 4
shl eax, 1
push eax
push ecx
mov ecx, 0x5b72f4
call fcn.0044be80
push 0x50
call fcn.00514cc5
add esp, 4
cmp eax, ebx
je 0x49229f
mov dword [eax], 0x5257bc
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ebx
jmp 0x4922a1
mov eax, 2
jmp 0x492109
mov eax, 1
jmp 0x492109
mov eax, 3
jmp 0x492109
push str.CModel::Load
call fcn.00449670
add esp, 4
jmp 0x492165
xor eax, eax
push 1
mov ecx, eax
mov dword [esi + 0x54], eax
call fcn.0044ff00
mov eax, dword [ebp + 0x598]
inc edi
add esi, 0x58
cmp edi, eax
jl 0x492200
mov ecx, dword [esp + 0xb0]
xor ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
call fcn.005151d1
add esp, 0xa4
ret 4
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x52145c
call dword [0x521298]
push 0x52fdac
lea eax, [esp + 0x18]
push eax
call fcn.00514dd6
lea ecx, [ecx]
add al, 0x21
dec ecx
add byte [edi + 0x22], ch
dec ecx
add byte [ecx + 0x22], bh
dec ecx
add byte [ebx + 0x4922], al
add dword [edx], eax
add dword [edx], eax
add dword [ecx], eax
add eax, dword [eax]
add dword [ecx], eax
add eax, dword [ebx]
add eax, dword [eax]
nop
nop
nop
nop
nop
nop
nop
nop
nop