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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x82c]
push esi
push edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x830]
sar ecx, 1
xor edi, edi
push 0x104
mov dword [esp + 0x14], ecx
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x938]
lea edx, [esp + 0xc0]
lea ecx, [ebx + 0x300]
push edi
push edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0xc4], edi
call fcn.00499500
mov eax, dword [ebx + 0x8b8]
mov esi, dword [ebx + 0x8f0]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x91c]
xor edx, edx
div esi
add esp, 0xc
mov dword [ebx + 0x918], 1
mov ecx, eax
mov eax, dword [ebx + 0x920]
mov dword [ebx + 0x928], edx
xor edx, edx
div esi
mov esi, ebx
sub ecx, eax
mov dword [ebx + 0x924], ecx
call fcn.0042e7e0
cmp dword [ebx + 0x830], edi
mov ecx, dword [ebx + 0x868]
mov dword [ebx + 0x894], ecx
mov dword [esp + 0x24], edi
jle 0x42fd17
mov eax, dword [esp + 0x14]
shl eax, 4
mov dword [esp + 0x8c], eax
xor esi, esi
cmp dword [ebx + 0x82c], esi
jle 0x42fcfe
cmp dword [ebx + 0xb38], 0
je 0x42fca1
mov eax, dword [ebx + 0x894]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x8a0]
push edx
mov edx, dword [ebx + 0x89c]
add eax, edi
add eax, esi
push eax
mov eax, dword [ebx + 0x898]
add ecx, edi
add ecx, esi
add edx, edi
push ecx
add edx, esi
add eax, edi
push edx
add eax, esi
push eax
call dword [0x506388]
add esp, 0x14
jmp 0x42fce8
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x894]
mov edx, dword [ebx + 0x898]
push eax
add ecx, edi
push eax
add ecx, esi
add edx, edi
push ecx
add edx, esi
push edx
call dword [0x506370]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x89c]
push eax
push eax
mov eax, dword [ebx + 0x894]
add eax, edi
add eax, esi
add ecx, edi
push eax
add ecx, esi
push ecx
call dword [0x50637c]
add esp, 0x20
add esi, 0x10
cmp esi, dword [ebx + 0x82c]
jl 0x42fc5c
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x24]
add ecx, 0x10
add edi, eax
cmp ecx, dword [ebx + 0x830]
mov dword [esp + 0x24], ecx
jl 0x42fc4e
mov eax, dword [ebx + 0x82c]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
xor eax, eax
cmp dword [ebx + 0x830], eax
mov dword [esp + 0x24], eax
jle 0x430d0a
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
shl eax, 4
mov dword [esp + 0x8c], eax
cmp dword [ebx + 0x82c], 0
mov dword [esp + 0x28], 0
jle 0x430ce3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, ecx
sar eax, 1
mov dword [esp + 0xb0], eax
imul eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
lea eax, [edx*8 + 8]
sar ecx, 4
mov dword [esp + 0x90], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], 0
jmp 0x42fdb0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
add eax, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
add eax, edi
lea edx, [eax + 8]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x14]
lea edx, [eax + edx*8]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x90]
add edx, eax
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x60]
mov eax, edi
sar eax, 1
mov dword [esp + 0x38], eax
add eax, edx
mov edx, dword [ecx + 4]
add edx, eax
mov esi, dword [esp + 0x64]
mov dword [esp + 0xa8], edx
mov edx, dword [ecx + 8]
add edx, eax
mov eax, dword [ebx + 0x834]
imul eax, dword [esp + 0x5c]
mov dword [esp + 0xac], edx
mov edx, edi
sar edx, 4
add eax, edx
imul eax, eax, 0x124
add eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], edx
mov edx, esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x68]
sub edx, esi
mov dword [eax + 0x5c], edx
je 0x42fe81
cmp edx, 0xfffffffe
jge 0x42fe50
mov dword [eax + 0x5c], 0xfffffffe
jmp 0x42fe5c
cmp edx, 2
jle 0x42fe5c
mov dword [eax + 0x5c], 2
mov edx, dword [eax + 0x5c]
add edx, esi
cmp edx, 1
mov dword [esp + 0x1c], edx
jge 0x42fe74
mov dword [esp + 0x1c], 1
jmp 0x42fe81
cmp edx, 0x1f
jle 0x42fe81
mov dword [esp + 0x1c], 0x1f
mov edx, dword [esp + 0x1c]
mov esi, edx
sub esi, dword [esp + 0x68]
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], esi
mov esi, dword [ebx + 0x834]
imul esi, dword [esp + 0x5c]
add esi, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x868]
imul esi, esi, 0x124
add esi, dword [esp + 0x4c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x34]
add ecx, edx
add eax, edx
mov edx, dword [esp + 0xb4]
push edx
add eax, edi
push edx
add ecx, edi
push eax
push ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x4c], esi
call dword [0x5062d4]
add esp, 0x10
cmp eax, 0x100
mov dword [esp + 0x18], eax
jae 0x42ff1f
push 0x124
push 0
push esi
call fcn.00499500
mov eax, dword [esp + 0x24]
mov dword [esi + 0x64], eax
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esi], 0xffffffff
mov dword [esi + 0x58], eax
jmp 0x430535
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x6c]
push ecx
mov dword [esi + 0x64], eax
mov dword [esi + 0x54], eax
push edx
mov dword [esi], 0
mov eax, dword [ebx + 0x838]
mov ecx, dword [ebx + 0x834]
mov edx, dword [ebx + 0x8bc]
push eax
push ecx
push edx
lea eax, [esp + 0x130]
push eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x188]
call fcn.0042d590
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx*4 + 0x4d5918]
mov ecx, dword [ebx + 0x894]
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x100], edx
mov edx, dword [ebx + 0x898]
add edx, eax
add ecx, edi
mov dword [esp + 0xd4], ecx
mov ecx, dword [ebx + 0x89c]
add ecx, eax
add edx, edi
mov dword [esp + 0xd8], edx
mov edx, dword [ebx + 0x8a0]
add edx, eax
add ecx, edi
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x134]
add edx, edi
mov dword [esp + 0xe0], edx
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0x138]
mov eax, 0x4d5e48
sub eax, edx
movsx eax, word [eax]
lea edx, [ecx + ecx]
mov ecx, 0x4d5e48
sub ecx, edx
movsx edx, word [ecx]
mov ecx, dword [esi + 0x64]
add eax, edx
imul eax, ecx
imul eax, dword [esp + 0x100]
shr eax, 0xa
add eax, ecx
mov dword [esp + 0x164], eax
mov dword [esp + 0x160], eax
xor eax, eax
lea edx, [esp + 0x164]
mov dword [esp + 0x178], edx
mov edx, dword [ebx + 0x868]
add edx, dword [esp + 0x4c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x17c], eax
lea eax, [esp + 0x108]
lea ecx, [esp + 0x134]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x15c], ecx
mov ecx, dword [esp + 0xc4]
add esp, 0x18
add edx, edi
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1b0], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1b4], edx
lea edx, [eax + ecx]
add edx, dword [ebx + 0x86c]
add eax, ecx
add eax, dword [ebx + 0x870]
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x1c]
shl eax, 7
cmp dword [esp + 0x18], eax
ja 0x430117
mov ecx, dword [ebx + 0xb28]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.0043fa90
add esp, 0xc
test eax, eax
je 0x430117
push 0x124
push 0
push esi
call fcn.00499500
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0x64], eax
mov dword [esi + 0x54], eax
mov dword [esi], 0xffffffff
mov dword [esi + 0x58], ecx
jmp 0x430535
mov ecx, dword [ebx + 0x93c]
mov esi, dword [ebx + 0x82c]
mov edx, dword [ebx + 0x830]
add ecx, 4
mov eax, 1
shl eax, cl
sub esi, edi
lea esi, [esi + esi - 0x20]
mov dword [esp + 0xcc], esi
lea ecx, [eax - 1]
neg eax
cmp ecx, esi
jg 0x430150
mov dword [esp + 0xcc], ecx
sub edx, dword [esp + 0x24]
lea edx, [edx + edx - 0x20]
cmp ecx, edx
mov dword [esp + 0xd4], edx
jg 0x43016a
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x50]
add ecx, ecx
cmp eax, ecx
mov dword [esp + 0xd0], eax
jg 0x430182
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x48]
add ecx, ecx
cmp eax, ecx
mov dword [esp + 0xd8], eax
jg 0x43019a
mov dword [esp + 0xd8], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov esi, dword [ebx + 0x834]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0xb8]
push edx
call fcn.0043f400
add esp, 4
lea eax, [esp + 0xb8]
call fcn.0043f720
mov eax, dword [ebx + 0xb38]
push eax
lea eax, [esp + 0xbc]
call fcn.0043f100
mov esi, dword [esp + 0x40]
add esp, 4
cmp dword [esi + 0x5c], 0
jne 0x4305c6
mov ecx, dword [esp + 0x160]
cmp dword [ecx], 0x800
jl 0x4305c6
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4305ca
cmp dword [esp + 0x48], 0
je 0x4305ca
mov edx, dword [ebx + 0x82c]
sub edx, 0x10
cmp eax, edx
jge 0x4305ca
mov ecx, dword [ebx + 0x830]
sub ecx, 0x10
cmp dword [esp + 0x24], ecx
jge 0x4305ca
mov edx, dword [esp + 0x1c]
lea ecx, [edx*4 + 0x4d5998]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x1c4]
lea edx, [esp + 0x150]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], edx
lea edx, [esi + 8]
mov ecx, esi
neg ecx
mov dword [esp + 0x20], edx
lea edx, [esp + ecx + 0xf0]
lea ecx, [esp + ecx + 0x11c]
mov dword [esp + 0x168], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x88], ecx
jmp 0x4302a0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx + 0x834]
mov ebx, dword [esp + 0x4c]
push edx
push ecx
push eax
lea esi, [esp + 0xc4]
call fcn.0043f2e0
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, ecx
mov esi, 2
div esi
mov esi, dword [esp + 0x34]
mov edi, dword [ebp + 8]
add esp, 0xc
lea esi, [esi + edx*8]
mov edx, dword [esp + 0x24]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
lea ebx, [edx + eax]
mov edx, dword [edi + 0x834]
mov eax, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x74]
mov edx, ecx
mov ecx, dword [esp + 0x64]
call fcn.0042d300
mov dword [ebx], eax
mov eax, dword [esp + 0x4c]
imul eax, dword [esp + 0x1c]
mov dword [ebx + 4], edx
mov edx, dword [ebp + 0xc]
lea ecx, [eax + esi]
add ecx, dword [edx]
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc0], ecx
mov ecx, dword [edi + 0x894]
add ecx, eax
add ecx, esi
mov dword [edx - 4], ecx
mov dword [esp + 0xc4], ecx
mov ecx, dword [edi + 0x898]
add ecx, eax
add ecx, esi
mov dword [edx], ecx
mov dword [esp + 0xc8], ecx
mov ecx, dword [edi + 0x89c]
add ecx, eax
add ecx, esi
mov dword [edx + 4], ecx
mov dword [esp + 0xcc], ecx
mov ecx, dword [edi + 0x8a0]
add ecx, eax
lea eax, [ecx + esi]
mov dword [edx + 8], eax
mov edx, dword [esp + 0x48]
mov ecx, dword [edx]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x38]
mov dword [eax], SysReAllocString
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [edi + 0x93c]
mov dword [esp + 0x168], eax
add ecx, 4
mov eax, 1
shl eax, cl
add esp, 8
mov dword [esp + 0x118], edx
mov edx, dword [edi + 0x82c]
mov dword [esp + 0x144], ebx
mov ebx, dword [edi + 0x830]
lea ecx, [eax - 1]
neg eax
sub edx, esi
lea edx, [edx + edx - 0x10]
cmp ecx, edx
mov dword [esp + 0xcc], edx
jg 0x4303f4
mov dword [esp + 0xcc], ecx
mov edx, dword [esp + 0x44]
sub ebx, edx
lea ebx, [ebx + ebx - 0x10]
cmp ecx, ebx
mov dword [esp + 0xd4], ebx
jg 0x430410
mov dword [esp + 0xd4], ecx
neg esi
add esi, esi
cmp eax, esi
mov dword [esp + 0xd0], eax
jg 0x430426
mov dword [esp + 0xd0], esi
neg edx
add edx, edx
cmp eax, edx
mov dword [esp + 0xd8], eax
jg 0x43043c
mov dword [esp + 0xd8], edx
lea eax, [esp + 0xb8]
call fcn.0043f4a0
mov edx, dword [edi + 0xb38]
push edx
lea eax, [esp + 0xbc]
call fcn.0043f1f0
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
add dword [esp + 0x5c], 0x10
add dword [esp + 0x34], 4
mov dword [eax - 4], ecx
mov edx, dword [esp + 0x11c]
mov ecx, dword [edx + 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
add eax, 8
add ecx, 1
add esp, 4
cmp ecx, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ebx, edi
jl 0x4302a0
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, ecx
add edx, eax
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x1ac], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1b0], edx
mov edx, dword [ebx + 0x868]
add edx, ecx
mov ecx, dword [esp + 0x60]
add edx, eax
mov dword [esp + 0x1b4], edx
mov edx, dword [esp + 0x38]
lea edi, [edx + ecx]
add edi, dword [ebx + 0x86c]
add edx, ecx
mov ecx, dword [esp + 0x24]
add edx, dword [ebx + 0x870]
push ecx
mov dword [esp + 0x1bc], edi
push eax
lea edi, [esp + 0xc0]
mov dword [esp + 0x1c4], edx
call fcn.0043fdd0
mov eax, dword [esi]
add esp, 8
cmp eax, 0xffffffff
jne 0x43063e
mov esi, dword [esp + 0x3c]
mov eax, dword [ebx + 0x868]
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
add eax, dword [esp + 0x28]
lea edi, [ebx + 0x780]
lea edx, [eax + 8]
mov dword [esp + 0x74], edx
lea edx, [eax + ecx*8]
mov ecx, dword [esp + 0x90]
add ecx, eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x10]
push ecx
add eax, edx
add eax, dword [ebx + 0x86c]
push 8
push eax
push edi
call dword [0x50634c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
push ecx
add eax, edx
add eax, dword [ebx + 0x870]
push 8
mov dword [esp + 0x98], edi
push eax
lea edi, [ebx + 0x7c0]
push edi
call dword [0x50634c]
add esp, 0x20
mov dword [esp + 0x84], edi
jmp 0x430ae5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0x894]
add edx, ecx
add edx, eax
mov dword [esp + 0x1c0], edx
mov dword [esp + 0xbc], edx
mov edx, dword [ebx + 0x898]
add edx, ecx
add edx, eax
mov dword [esp + 0x1c4], edx
mov dword [esp + 0xc0], edx
mov edx, dword [ebx + 0x89c]
add edx, ecx
add edx, eax
mov dword [esp + 0x1c8], edx
mov dword [esp + 0xc4], edx
mov edx, dword [ebx + 0x8a0]
add edx, ecx
add edx, eax
mov dword [esp + 0x168], 0
mov dword [esp + 0x1cc], edx
mov dword [esp + 0xc8], edx
jmp 0x4304ad
test eax, eax
je 0x43095f
cmp eax, 1
je 0x43095f
cmp eax, 2
jne 0x430ae1
mov edx, dword [esp + 0x3c]
mov esi, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x14]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x30], esi
add esi, eax
add esi, edi
mov dword [esp + 0x88], edi
mov edi, dword [edx + 0x10]
add esi, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 8]
add edi, edx
add edi, ecx
add edi, eax
mov dword [esp + 0x20], edi
mov edi, esi
and edi, 0xf
movzx edi, word [edi*2 + 0x4d1378]
sar esi, 3
add edi, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov edi, esi
and edi, 0xf
movzx edi, word [edi*2 + 0x4d1378]
sar esi, 3
add edi, esi
mov esi, dword [esp + 0xb4]
add esi, 0xfffffff0
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x18]
add edi, esi
mov esi, dword [esp + 0x2c]
cmp edi, esi
jle 0x4306f5
mov edi, dword [esp + 0x50]
add esi, edi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x24]
add esi, 0xfffffff0
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
add edi, esi
mov esi, dword [esp + 0x2c]
cmp edi, esi
jle 0x43071f
mov edi, dword [esp + 0x48]
add esi, edi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
add esi, edi
jns 0x430733
mov esi, dword [esp + 0x50]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
add esi, edi
jns 0x430747
mov esi, dword [esp + 0x48]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x44]
mov esi, edx
and esi, 1
sar edx, 1
imul edx, dword [esp + 0x14]
add esi, esi
and edi, 1
or esi, edi
mov esi, dword [esp + esi*4 + 0x1c0]
add esi, edx
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
sar edx, 1
add esi, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x70], esi
mov esi, edx
sar edx, 1
imul edx, dword [esp + 0x14]
and esi, 1
add esi, esi
and edi, 1
or esi, edi
mov esi, dword [esp + esi*4 + 0x1d0]
add esi, edx
mov edx, dword [esp + 0x30]
sar edx, 1
add esi, edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x74], esi
mov esi, ecx
and esi, 1
mov edi, edx
add esi, esi
and edi, 1
or esi, edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + esi*4 + 0x1e0]
sar ecx, 1
imul ecx, edi
add esi, ecx
mov ecx, dword [esp + 0x58]
sar edx, 1
add esi, edx
mov edx, eax
sar eax, 1
imul eax, edi
and edx, 1
mov dword [esp + 0x78], esi
mov esi, ecx
add edx, edx
and esi, 1
or edx, esi
mov edx, dword [esp + edx*4 + 0x1f0]
add edx, eax
sar ecx, 1
add edx, ecx
mov ecx, dword [esp + 0x20]
mov esi, ecx
sar esi, 1
add esi, dword [esp + 0xb0]
mov dword [esp + 0x7c], edx
imul esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
add eax, esi
add eax, dword [esp + 0x38]
and ecx, 1
add eax, dword [ebx + 0x86c]
and edx, 1
lea edi, [ecx + edx*2]
mov ecx, edi
sub ecx, 0
je 0x430885
sub ecx, 1
je 0x43086e
sub ecx, 1
je 0x430857
mov ecx, dword [esp + 0x10]
push ecx
push 8
push eax
lea eax, [ebx + 0x780]
push eax
call dword [0x50636c]
jmp 0x43089a
mov edx, dword [esp + 0x10]
push edx
push 8
push eax
lea eax, [ebx + 0x780]
push eax
call dword [0x506394]
jmp 0x43089a
mov ecx, dword [esp + 0x10]
push ecx
push 8
push eax
lea eax, [ebx + 0x780]
push eax
call dword [0x506390]
jmp 0x43089a
mov edx, dword [esp + 0x10]
push edx
push 8
push eax
lea eax, [ebx + 0x780]
push eax
call dword [0x50634c]
lea eax, [ebx + 0x780]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
add esi, eax
add esi, dword [esp + 0x48]
add esp, 0x10
add esi, dword [ebx + 0x870]
sub edi, 0
je 0x430938
sub edi, 1
je 0x430911
sub edi, 1
lea eax, [ebx + 0x7c0]
je 0x4308f0
mov ecx, dword [esp + 0x10]
push ecx
push 8
push esi
push eax
call dword [0x50636c]
lea eax, [ebx + 0x7c0]
mov dword [esp + 0x94], eax
jmp 0x430ade
mov edx, dword [esp + 0x10]
push edx
push 8
push esi
push eax
call dword [0x506394]
lea eax, [ebx + 0x7c0]
mov dword [esp + 0x94], eax
jmp 0x430ade
mov eax, dword [esp + 0x10]
push eax
push 8
lea eax, [ebx + 0x7c0]
push esi
push eax
call dword [0x506390]
lea eax, [ebx + 0x7c0]
mov dword [esp + 0x94], eax
jmp 0x430ade
mov ecx, dword [esp + 0x10]
push ecx
push 8
lea eax, [ebx + 0x7c0]
push esi
push eax
call dword [0x50634c]
lea eax, [ebx + 0x7c0]
mov dword [esp + 0x94], eax
jmp 0x430ade
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edx, ecx
mov esi, ecx
sar esi, 1
and edx, 3
movzx edx, word [edx*2 + 0x4d1370]
add edx, esi
mov esi, eax
and esi, 3
movzx esi, word [esi*2 + 0x4d1370]
mov edi, eax
sar edi, 1
add esi, edi
mov dword [esp + 0x20], esi
mov esi, eax
and esi, 1
add esi, esi
mov edi, ecx
sar eax, 1
and edi, 1
or esi, edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + esi*4 + 0x1c0]
imul eax, edi
add esi, eax
sar ecx, 1
add esi, ecx
lea eax, [esi + 8]
lea ecx, [esi + edi*8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x90]
add eax, esi
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], esi
mov esi, ecx
sar esi, 1
add esi, dword [esp + 0xb0]
mov dword [esp + 0x7c], eax
imul esi, dword [esp + 0x10]
mov eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
add eax, esi
add eax, dword [esp + 0x38]
and edx, 1
add eax, dword [ebx + 0x86c]
and ecx, 1
lea ecx, [ecx + edx*2]
mov dword [esp + 0x2c], ecx
sub ecx, 0
lea edi, [ebx + 0x780]
je 0x430a53
sub ecx, 1
je 0x430a42
sub ecx, 1
je 0x430a31
mov ecx, dword [esp + 0x10]
push ecx
push 8
push eax
push edi
call dword [0x50636c]
jmp 0x430a62
mov edx, dword [esp + 0x10]
push edx
push 8
push eax
push edi
call dword [0x506394]
jmp 0x430a62
mov ecx, dword [esp + 0x10]
push ecx
push 8
push eax
push edi
call dword [0x506390]
jmp 0x430a62
mov edx, dword [esp + 0x10]
push edx
push 8
push eax
push edi
call dword [0x50634c]
mov eax, dword [esp + 0x40]
add esi, eax
add esi, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
add esi, dword [ebx + 0x870]
add esp, 0x10
sub eax, 0
mov dword [esp + 0x80], edi
lea edi, [ebx + 0x7c0]
je 0x430ac8
sub eax, 1
je 0x430ab7
sub eax, 1
je 0x430aa6
mov ecx, dword [esp + 0x10]
push ecx
push 8
push esi
push edi
call dword [0x50636c]
jmp 0x430ad7
mov edx, dword [esp + 0x10]
push edx
push 8
push esi
push edi
call dword [0x506394]
jmp 0x430ad7
mov eax, dword [esp + 0x10]
push eax
push 8
push esi
push edi
call dword [0x506390]
jmp 0x430ad7
mov ecx, dword [esp + 0x10]
push ecx
push 8
push esi
push edi
call dword [0x50634c]
mov dword [esp + 0x94], edi
add esp, 0x10
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
cmp eax, 0xffffffff
mov edi, dword [esp + 0x14]
jne 0x430bef
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x98]
push edi
push edi
push edx
push eax
call dword [0x50634c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0xac]
push edi
push edi
push ecx
push edx
call dword [0x50634c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xc0]
push edi
push edi
push eax
push ecx
call dword [0x50634c]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xd4]
push edi
push edi
push edx
push eax
call dword [0x50634c]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xe8]
add esp, 0x40
push 8
push edi
push ecx
push edx
call dword [0x50634c]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xbc]
push 8
push edi
push eax
push ecx
call dword [0x50634c]
mov eax, dword [ebx + 0x818]
mov edx, dword [ebx + 0x810]
mov dword [esp + 0x60], eax
sar eax, 5
lea eax, [edx + eax*4]
add esp, 0x20
mov dword [esp + 0x2c], eax
mov ecx, 0x20
mov eax, 1
sub ecx, 1
shl eax, cl
mov ecx, dword [esp + 0x40]
xor edx, edx
and ecx, 0x1f
shrd edx, eax, cl
shr eax, cl
bswap edx
mov ecx, dword [esp + 0x2c]
bswap eax
mov dword [ecx + 4], edx
or dword [ecx], eax
mov eax, dword [esp + 0x68]
add dword [ebx + 0x818], 1
mov dword [esp + 0x64], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
jmp 0x430cbf
cmp eax, 3
je 0x430c56
cmp eax, 4
je 0x430c56
mov ecx, dword [ebx + 0xb28]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
lea eax, [esp + 0xa0]
push eax
push ebx
push ecx
mov eax, edi
lea ecx, [esp + 0x84]
call fcn.00440ce0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
add esp, 0x14
push eax
push edx
mov dword [esi + 0x60], eax
push edi
lea eax, [esp + 0xa4]
push eax
push ebx
push ecx
lea ecx, [esp + 0x88]
call fcn.004413e0
add esp, 0x18
mov eax, esi
mov ecx, ebx
call fcn.0042f7d0
jmp 0x430cbf
mov edx, dword [ebx + 0xb28]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push edx
push ebx
mov ebx, dword [esp + 0x5c]
push ebx
lea ecx, [esp + 0xa4]
call fcn.00440950
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
push ebx
mov eax, edi
mov edi, dword [ebp + 8]
lea ebx, [esp + 0xa0]
call fcn.004411f0
mov ecx, dword [edi + 0x834]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [edi + 0x8b8]
push edx
mov edx, dword [esp + 0x64]
push eax
call fcn.0043ed10
add esp, 0x14
mov eax, esi
mov ecx, edi
call fcn.0042f7d0
mov ebx, edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
sub dword [esp + 0x50], 0x10
add eax, 0x10
cmp eax, dword [ebx + 0x82c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], eax
jl 0x42fdb0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
add dword [esp + 0x34], edx
sub dword [esp + 0x48], 0x10
add eax, 0x10
cmp eax, dword [ebx + 0x830]
mov dword [esp + 0x24], eax
jl 0x42fd5a
mov eax, dword [ebx + 0x818]
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x430d1f
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [ebx + 0x810]
mov dword [esp + 0x2c], eax
mov esi, 8
sar eax, 5
sub esi, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x94], eax
mov ecx, 0x20
mov eax, 0
sub ecx, dword [esp + 0x40]
shl eax, cl
mov ecx, dword [esp + 0x2c]
xor edx, edx
and ecx, 0x1f
shrd edx, eax, cl
shr eax, cl
bswap edx
mov ecx, dword [esp + 0x94]
bswap eax
mov dword [ecx + 4], edx
or dword [ecx], eax
add dword [ebx + 0x818], esi
mov eax, dword [ebx + 0x818]
add eax, 7
cdq
and edx, 7
pop edi
add eax, edx
pop esi
sar eax, 3
pop ebx
mov esp, ebp
pop ebp
ret