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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
xor ebx, ebx
mov dword [ebp - 8], edi
cmp edi, ebx
jne 0x494c5b
mov ebx, esi
call fcn.00478a80
mov dword [esi + 8], eax
mov dword [ebp - 8], eax
test eax, eax
je 0x494c4a
push 0x9a
mov esi, eax
call fcn.00478be0
add esp, 4
mov esi, ebx
mov edi, dword [ebp - 8]
xor ebx, ebx
cmp dword [esi + 0x19c], ebx
jne 0x494c5b
mov byte [esi + 0x19], 1
mov eax, dword [esi + 0x48]
dec eax
mov dword [ebp - 0x10], eax
mov eax, edi
call fcn.00478f10
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x24], ebx
jge 0x494cc2
mov eax, dword [ebp + 0x18]
movzx ecx, byte [eax + 0x18]
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
cmp dword [edx + 0x58], eax
jg 0x494c99
push edi
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x494cc2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [ebp - 0x18]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 0xc]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x82
mov dword [eax + 0x14], ebx
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], ebx
jle 0x494d36
nop
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp + 0x20]
lea edx, [eax + ecx + 1]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
cmp dword [ecx + 0x58], eax
jg 0x494cfe
push edi
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x494d27
mov eax, dword [ebp - 0x1c]
inc dword [edi + 0x20]
mov ecx, dword [ebp - 0x18]
lea edx, [eax + eax*2]
mov eax, dword [edi + 4]
lea eax, [eax + edx*8]
mov edx, dword [ebp - 0xc]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x4c
mov dword [eax + 0x14], ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ecx + 0x14]
jl 0x494cd0
cmp dword [ebp + 0x28], ebx
jne 0x4952af
cmp dword [ebp + 0x14], ebx
jne 0x494f67
mov al, byte [esi + 0x13]
cmp al, bl
jne 0x494d5a
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [ebp + 0x28], eax
jmp 0x494d69
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0x1c]
mov dword [ebp + 0x28], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x20]
mov esi, dword [edi + 0x20]
lea eax, [ecx + edx + 1]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ecx + 0x58], esi
jg 0x494d90
push edi
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x494db9
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [ebp - 0x1c]
lea edx, [esi + esi*2]
lea eax, [eax + edx*8]
mov edx, dword [ebp + 0x28]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x22
mov dword [eax + 0x14], ebx
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], esi
jg 0x494dda
push edi
call fcn.00478b00
add esp, 4
test eax, eax
je 0x494dda
mov dword [ebp - 0x18], 1
jmp 0x494e03
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*8]
mov ecx, dword [ebp + 0x28]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x26
mov dword [eax + 0x14], ebx
mov dword [ebp - 0x18], esi
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
cmp edx, dword [eax]
jne 0x494e3d
cmp dword [ebp + 0x24], 1
jne 0x494e3d
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x20]
push ecx
push edx
push eax
push 0x4f
mov esi, edi
call fcn.00478b80
mov eax, dword [edi + 4]
add esp, 0x10
cmp eax, ebx
je 0x494e3d
mov edi, dword [edi + 0x20]
lea ecx, [edi + edi*2]
mov byte [eax + ecx*8 - 0x15], 0x88
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x34
push edx
push eax
push ecx
call fcn.0048d7b0
mov esi, dword [ebp - 8]
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add esp, 0x10
cmp dword [edx + 0x58], edi
jg 0x494e71
push esi
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x494e9c
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [ebp - 0x10]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x28]
mov byte [eax + 3], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x43
mov dword [eax + 0x14], ebx
jmp 0x494e9f
mov edx, dword [ebp + 0x28]
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], edi
jg 0x494eba
push esi
call fcn.00478b00
mov edx, dword [ebp + 0x28]
add esp, 4
test eax, eax
jne 0x494ee0
mov eax, dword [esi + 4]
inc dword [esi + 0x20]
lea ecx, [edi + edi*2]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x10
mov dword [eax + 0x14], ebx
mov eax, dword [esi + 0x20]
lea ecx, [eax - 2]
cmp eax, ecx
jbe 0x494ef4
mov edi, dword [esi + 4]
lea ecx, [ecx + ecx*2]
mov dword [edi + ecx*8 + 8], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jbe 0x494f12
mov edi, dword [esi + 4]
lea ecx, [ecx + ecx*2]
mov dword [edi + ecx*8 + 8], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
mov dword [ecx + 0x5c], eax
cmp edx, ebx
je 0x4952ac
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x13]
mov byte [ebp + 0x2b], al
cmp al, 8
jae 0x4952ac
mov eax, dword [ebp + 8]
xor ecx, ecx
lea esi, [eax + 0x78]
lea ecx, [ecx]
cmp dword [esi + 0xc], edx
je 0x494f5e
inc ecx
add esi, 0x14
cmp ecx, 0xa
jl 0x494f40
movzx ecx, byte [ebp + 0x2b]
mov dword [eax + ecx*4 + 0x1c], edx
inc byte [eax + 0x13]
jmp 0x4952ac
mov byte [esi + 6], 1
jmp 0x4952ac
mov eax, dword [ecx + 0x14]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [ebp + 0x28], eax
mov dword [ebp - 0x14], edx
cmp eax, ecx
jg 0x494f86
add edx, eax
sub ecx, eax
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], ecx
jmp 0x494f94
mov ecx, dword [esi + 0x4c]
lea edx, [ecx + 1]
add ecx, eax
mov dword [ebp - 0x14], edx
mov dword [esi + 0x4c], ecx
mov al, byte [esi + 0x13]
cmp al, bl
jne 0x494fa6
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x18], eax
jmp 0x494fb5
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x2c]
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], eax
cmp dword [edx + 0x58], eax
jg 0x494fdc
push edi
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x495008
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [ebp - 0x10]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x34
mov dword [eax + 0x14], ebx
mov ecx, dword [ebp + 0x14]
mov eax, esi
call fcn.00479420
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x28], ebx
jle 0x49507f
mov ecx, ebx
lea esp, [esp]
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp + 0x20]
mov esi, dword [edi + 0x20]
lea edx, [edx + eax + 1]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x1c], edx
cmp dword [eax + 0x58], esi
jg 0x49504b
push edi
call fcn.00478b00
mov ecx, dword [ebp - 4]
add esp, 4
test eax, eax
jne 0x495076
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
lea edx, [esi + esi*2]
lea eax, [eax + edx*8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
add edx, ecx
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x21
mov dword [eax + 0x14], ebx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x28]
jl 0x495020
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax]
jne 0x495185
cmp dword [ebp + 0x24], 1
jne 0x495185
mov eax, dword [ebp + 0x28]
mov edx, dword [edi + 0x20]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp eax, ebx
jle 0x495147
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + ecx*4]
mov edx, dword [ebp + 0x20]
lea eax, [eax + edx + 1]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
movsx esi, ax
lea esi, [esi + edx + 1]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp + 0x10]
cmp ax, word [esi + 0x24]
jne 0x4950e1
mov dword [ebp - 0x1c], edx
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], esi
jg 0x4950fc
push edi
call fcn.00478b00
mov ecx, dword [ebp - 4]
add esp, 4
test eax, eax
jne 0x495128
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [esi + esi*2]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x1c]
mov byte [eax + 3], bl
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov word [eax], 0x4e
mov dword [eax + 0x14], ebx
mov edx, dword [edi + 4]
cmp edx, ebx
je 0x49513a
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*2]
mov byte [edx + eax*8 - 0x15], 8
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x28]
jl 0x4950b1
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], esi
jg 0x49515f
push edi
call fcn.00478b00
add esp, 4
test eax, eax
jne 0x495185
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
lea edx, [esi + esi*2]
lea eax, [eax + edx*8]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x10
mov dword [eax + 0x14], ebx
mov esi, dword [ebp + 0x14]
mov eax, edi
call fcn.0048d890
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edx
cmp dword [edx + 0x58], esi
jg 0x49520c
mov eax, dword [edx + 0x58]
cmp eax, ebx
je 0x4951ab
add eax, eax
jmp 0x4951b0
mov eax, 0x2a
mov ebx, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [edx]
add ecx, ecx
add ecx, ecx
add ecx, ecx
call fcn.0044f4f0
mov ebx, eax
test ebx, ebx
je 0x495345
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
cmp ebx, dword [eax + 0x10c]
jb 0x4951eb
cmp ebx, dword [eax + 0x110]
jae 0x4951eb
movzx ecx, word [eax + 0xf0]
jmp 0x4951f7
push ebx
call dword [0x56f8a8]
add esp, 4
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [ebp - 0x1c]
shr edx, 4
mov dword [eax + 0x58], edx
mov dword [edi + 4], ebx
xor ebx, ebx
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov word [eax], 0x30
mov dword [eax + 0x14], ebx
mov eax, esi
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x28]
push edx
push edi
call fcn.00479340
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push ebx
push esi
push eax
push ecx
push 0x42
mov eax, edi
call fcn.00478e60
add esp, 0x1c
cmp esi, ebx
je 0x495290
mov edi, dword [ebp + 8]
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x495290
xor eax, eax
lea ecx, [edi + 0x78]
cmp dword [ecx + 0xc], esi
je 0x495351
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x495274
movzx edx, dl
mov dword [edi + edx*4 + 0x1c], esi
inc byte [edi + 0x13]
mov ecx, dword [ebp + 0x28]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.004760e0
mov ecx, dword [ebp + 0x28]
cmp ecx, dword [eax + 0x3c]
jle 0x4952ac
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edi
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 0x18]
mov cl, byte [edx + 0x18]
mov esi, dword [ebp + 8]
cmp cl, bl
jne 0x4953e6
mov eax, dword [esi]
test dword [eax + 0x18], 0x1000000
jne 0x4953e6
mov eax, dword [esi + 0x19c]
cmp eax, ebx
jne 0x4953e6
cmp byte [esi + 0x16], bl
jne 0x4953e6
mov esi, dword [esi + 8]
cmp esi, ebx
jne 0x49531b
mov ebx, dword [ebp + 8]
call fcn.00478a80
mov esi, eax
mov dword [ebx + 8], eax
test esi, esi
je 0x49530b
push 0x9a
call fcn.00478be0
add esp, 4
mov eax, dword [ebx + 0x19c]
test eax, eax
jne 0x495319
mov byte [ebx + 0x19], 1
xor ebx, ebx
cmp eax, ebx
jne 0x495322
mov eax, dword [ebp + 8]
mov byte [eax + 0x17], 1
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], edi
jg 0x49535a
push esi
call fcn.00478b00
add esp, 4
test eax, eax
je 0x49535a
mov eax, 1
jmp 0x495387
mov eax, 1
xor ebx, ebx
jmp 0x49523a
mov byte [ecx + 6], 1
jmp 0x495290
mov eax, dword [esi + 4]
inc dword [esi + 0x20]
lea edx, [edi + edi*2]
lea eax, [eax + edx*8]
mov byte [eax + 3], bl
mov dword [eax + 4], 0x313
mov dword [eax + 8], 2
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x18
mov dword [eax + 0x14], ebx
mov eax, edi
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp ecx, ebx
je 0x4953be
cmp byte [edi + 0x40], bl
jne 0x4953be
cmp eax, ebx
jge 0x49539d
mov eax, dword [esi + 0x20]
dec eax
lea edx, [eax + eax*2]
movsx eax, byte [ecx + edx*8 + 1]
lea ecx, [ecx + edx*8]
mov dword [ebp + 8], ecx
mov ecx, dword [ecx + 0x10]
call fcn.004791c0
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x4953c8
xor ecx, ecx
lea eax, [ecx - 2]
call fcn.004791c0
mov eax, dword [esi + 4]
mov edi, dword [ebp - 8]
cmp eax, ebx
je 0x4954a6
mov esi, dword [esi + 0x20]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 - 0x15], 4
jmp 0x4954a6
cmp dword [ebp + 0x24], ebx
jle 0x4953ff
cmp cl, bl
jne 0x4953ff
mov eax, dword [esi + 0x19c]
cmp eax, ebx
jne 0x4953fb
mov eax, esi
mov byte [eax + 0x17], 1
movzx edx, byte [edx + 0x18]
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x18]
mov dword [ebp + 0x18], edx
mov dword [ebp + 8], eax
cmp dword [esi + 0x58], eax
jg 0x495479
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x49541f
add eax, eax
jmp 0x495424
mov eax, 0x2a
mov ebx, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
add ecx, ecx
call fcn.0044f4f0
mov ebx, eax
test ebx, ebx
je 0x4954a4
mov eax, dword [esi]
cmp ebx, dword [eax + 0x10c]
jb 0x495458
cmp ebx, dword [eax + 0x110]
jae 0x495458
movzx ecx, word [eax + 0xf0]
jmp 0x495464
push ebx
call dword [0x56f8a8]
add esp, 4
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [ebp + 8]
shr edx, 4
mov dword [esi + 0x58], edx
mov dword [edi + 4], ebx
xor ebx, ebx
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [ebp + 0x18]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp + 0x24]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x81
mov dword [eax + 0x14], ebx
jmp 0x4954a6
xor ebx, ebx
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [ebp - 0xc]
js 0x4954be
mov edx, dword [ecx + 0x74]
cmp edx, ebx
je 0x4954be
mov esi, dword [edi + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [edi + 0x20]
dec edx
mov dword [ecx + 0x5c], edx
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x18]
mov dword [ebp + 8], eax
cmp dword [esi + 0x58], eax
jg 0x495538
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x4954de
add eax, eax
jmp 0x4954e3
mov eax, 0x2a
mov ebx, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
add ecx, ecx
call fcn.0044f4f0
mov ebx, eax
test ebx, ebx
je 0x49555e
mov eax, dword [esi]
cmp ebx, dword [eax + 0x10c]
jb 0x495517
cmp ebx, dword [eax + 0x110]
jae 0x495517
movzx ecx, word [eax + 0xf0]
jmp 0x495523
push ebx
call dword [0x56f8a8]
add esp, 4
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [ebp + 8]
shr edx, 4
mov dword [esi + 0x58], edx
mov dword [edi + 4], ebx
xor ebx, ebx
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [ebp - 0x10]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x3a
mov dword [eax + 0x14], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret