Function at 0x3040a20
Capabilities:
Get file size
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x30e8418
push 0x307c3cb
mov eax, dword fs:[0]
push eax
add esp, 0xfffffc6c
mov eax, dword [0x30ed8a8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x22c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 1
je 0x3040a9c
cmp dword [ebp - 0x350], 2
je 0x3040adc
cmp dword [ebp - 0x350], 3
je 0x3040b3b
jmp 0x3040b9a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd50]
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xa8], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0xcac], 5
jmp 0x3040ba1
mov dword [ebp - 0x1d4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x448]
push edx
call fcn.03042420
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44c]
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0xcac], 2
jmp 0x3040ba1
mov dword [ebp - 0x1d4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x868]
push ecx
call fcn.03042420
mov edx, dword [ebp + 8]
mov dword [edx + 0x86c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x86c]
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x868]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0xcac], 3
jmp 0x3040ba1
xor eax, eax
jmp 0x3041b32
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xfb0], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 2
lea edx, [ebp - 0x234]
push edx
push 0
push 0
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3040c1e
push 0
push 6
call fcn.030226a0
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x354]
jmp 0x3041b32
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xca4], edx
movzx eax, word [ebp - 0x234]
cmp eax, 0x4944
jne 0x3040c3d
jmp 0x30413cb
movzx ecx, word [ebp - 0x234]
cmp ecx, 0x5a4d
jne 0x3040d48
push 0x40
lea edx, [ebp - 0x68]
push edx
push 0
push 0
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3040ca8
push 0
push 6
call fcn.030226a0
mov dword [ebp - 0x358], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x358]
jmp 0x3041b32
push 0xf8
lea ecx, [ebp - 0x1a8]
push ecx
mov eax, dword [ebp - 0x2c]
cdq
push edx
push eax
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3040d08
push 0
push 6
call fcn.030226a0
mov dword [ebp - 0x35c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x35c]
jmp 0x3041b32
cmp dword [ebp - 0x1a8], 0x4550
je 0x3040d43
lea eax, [ebp - 0x190]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1d0]
movzx eax, word [edx + 0x10]
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x1d8], edx
jmp 0x3040e8e
movzx eax, word [ebp - 0x234]
cmp eax, 0x14c
jne 0x3040dbe
push 0xf4
lea ecx, [ebp - 0x1a4]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3040daf
mov dword [ebp - 0x360], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x360]
jmp 0x3041b32
mov dword [ebp - 0x1a8], 0x524f4d20
jmp 0x3040e8e
push 0x4c
lea eax, [ebp - 0x228]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3040e19
push 0
push 6
call fcn.030226a0
mov dword [ebp - 0x364], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x364]
jmp 0x3041b32
movzx edx, word [ebp - 0x228]
cmp edx, 0x14c
je 0x3040e45
movzx eax, word [ebp - 0x228]
cmp eax, 0x184
je 0x3040e45
movzx ecx, word [ebp - 0x228]
cmp ecx, 0x284
jne 0x3040e72
lea edx, [ebp - 0x214]
mov dword [ebp - 0xac], edx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
movzx edx, word [ecx + 0x10]
add edx, 0x14
mov dword [ebp - 0x1d8], edx
jmp 0x3040e8e
mov dword [ebp - 0x368], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x368]
jmp 0x3041b32
cmp dword [ebp - 0xac], 0
je 0x3040f29
mov eax, dword [ebp - 0xac]
movzx ecx, word [eax]
cmp ecx, 0x107
jne 0x3040efb
mov edx, dword [ebp + 8]
mov dword [edx + 0xd24], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xac]
mov dx, word [ecx]
mov word [eax + 0x450], dx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x14]
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 4]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], 0
jmp 0x3040f24
mov edx, dword [ebp + 8]
mov dword [edx + 0x11e8], 0xb
mov dword [ebp - 0x36c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x36c]
jmp 0x3041b32
jmp 0x30410c4
movzx eax, word [ebp - 0x190]
push eax
call fcn.03042380
test eax, eax
je 0x3041030
push 0x108
lea ecx, [ebp - 0x348]
push ecx
mov eax, dword [ebp - 0x2c]
cdq
push edx
push eax
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3040f9e
push 0
push 6
call fcn.030226a0
mov dword [ebp - 0x370], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x370]
jmp 0x3041b32
lea eax, [ebp - 0x344]
mov dword [ebp - 0x1d0], eax
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x108
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x330]
mov word [eax + 0x450], cx
mov edx, dword [ebp + 8]
mov dword [edx + 0xd20], 1
cmp dword [ebp + 0xc], 2
je 0x3040fef
cmp dword [ebp + 0xc], 1
jne 0x304101f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x318]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x314]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x310]
mov dword [eax + 0xd1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2f0]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2f8]
mov dword [ecx + 0x20], edx
jmp 0x30410c4
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1d0], eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp + 8]
mov ax, word [ebp - 0x190]
mov word [edx + 0x450], ax
cmp dword [ebp - 0x1a8], 0x524f4d20
jne 0x3041071
mov dword [ebp - 0x1d8], 0xf4
jmp 0x3041080
mov ecx, dword [ebp - 0x2c]
add ecx, 0xf8
mov dword [ebp - 0x1d8], ecx
cmp dword [ebp + 0xc], 2
je 0x304108c
cmp dword [ebp + 0xc], 1
jne 0x30410b8
mov edx, dword [ebp - 0x174]
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x170]
mov dword [edx + 0xd1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x150]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x158]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x64
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfbc]
push edx
call fcn.030421f0
mov eax, dword [ebp - 0x1d0]
movzx ecx, word [eax + 2]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x28
push edx
call fcn.0302b6a0
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x304110a
jmp 0x30415da
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x28
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x1d8]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3041154
jmp 0x30415da
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x23c]
mov dword [edx + 0xcdc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0xd10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
mov dword [eax + 0xcd0], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xd04], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1d0]
mov ax, word [edx]
mov word [ecx + 0x30], ax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx + 4]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0x1d0]
movzx edx, word [ecx + 0x12]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x65
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xfbc]
push ecx
call fcn.030421f0
mov dword [ebp - 0x9c], 0
jmp 0x30411fc
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x23c]
add eax, 0x28
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0x1c]
jae 0x30413c6
mov edx, dword [ebp + 8]
cmp dword [edx + 0xd24], 0
je 0x30412e0
mov eax, dword [ebp - 0x1d0]
movzx ecx, word [eax + 0x12]
and ecx, 0x200
jne 0x30412e0
mov dword [ebp - 0x374], 0x30036dc
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0x378]
mov cl, byte [eax]
mov byte [ebp - 0x379], cl
mov edx, dword [ebp - 0x374]
cmp cl, byte [edx]
jne 0x30412a5
cmp byte [ebp - 0x379], 0
je 0x3041299
mov eax, dword [ebp - 0x378]
mov cl, byte [eax + 1]
mov byte [ebp - 0x37a], cl
mov edx, dword [ebp - 0x374]
cmp cl, byte [edx + 1]
jne 0x30412a5
add dword [ebp - 0x378], 2
add dword [ebp - 0x374], 2
cmp byte [ebp - 0x37a], 0
jne 0x3041247
mov dword [ebp - 0x380], 0
jmp 0x30412b0
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x384], ecx
cmp dword [ebp - 0x384], 0
jne 0x30412e0
mov dword [ebp - 0x22c], 1
mov edx, dword [ebp - 0x23c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x30413c6
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
call fcn.03042060
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
je 0x3041374
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xf64], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 4]
mov dword [eax + 0xfc8], edx
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax + 0xfc0], ecx
mov dword [eax + 0xfc4], edx
push 0x28
mov ecx, dword [ebp + 8]
add ecx, 0xf88
push ecx
mov edx, dword [ebp - 0x34c]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.030423a0
mov edx, dword [ebp - 0x238]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
call fcn.03042060
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
je 0x30413c1
mov edx, dword [ebp - 0x34c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 0x34]
xor edx, edx
mov ecx, 0x1c
div ecx
mov dword [ebp - 0x22c], eax
jmp 0x30411de
jmp 0x30415da
push 0x30
lea edx, [ebp - 0x98]
push edx
push 0
push 0
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3041421
mov dword [ebp - 0x388], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x388]
jmp 0x3041b32
movzx ecx, word [ebp - 0x94]
cmp ecx, 0x14c
je 0x3041478
movzx edx, word [ebp - 0x94]
cmp edx, 0x184
je 0x3041478
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x86c]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp + 8]
mov dword [edx + 0x86c], 0
mov dword [ebp - 0x38c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38c]
jmp 0x3041b32
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0xd1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x8c]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp + 8]
mov dx, word [ebp - 0x94]
mov word [ecx + 0x30], dx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0x28], ecx
movzx edx, word [ebp - 0x92]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x390], ecx
mov edx, dword [ebp - 0x390]
mov eax, dword [ebp - 0x390]
mov ecx, dword [edx + 0x18]
or ecx, dword [eax + 0x1c]
jne 0x30414e5
mov edx, dword [ebp - 0x88]
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x20], 0
jne 0x30414fa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x84]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x28
push eax
call fcn.0302b6a0
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x3041520
jmp 0x30415da
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x28
push ecx
mov edx, dword [ebp - 0x23c]
push edx
push 0
push 0x30
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3041561
jmp 0x30415da
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xd44], 0
jne 0x304157c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xcdc]
push eax
call fcn.0302b6f0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x23c]
mov dword [ecx + 0xcdc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xd10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x23c]
mov dword [edx + 0xcd4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0xd08], edx
cmp dword [ebp - 0x78], 0
je 0x30415da
mov eax, dword [ebp - 0x78]
xor edx, edx
mov ecx, 0x1c
div ecx
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x80]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x7c]
lea ecx, [edx + eax + 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 1
cmp dword [ebp + 0xc], 2
jne 0x3041602
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xce0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x22c]
mov dword [ecx + 0xce4], edx
cmp dword [ebp - 0x22c], 0
je 0x3041b16
push 0x1c
lea eax, [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3041668
mov dword [ebp - 0x394], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x394]
jmp 0x3041b32
cmp dword [ebp - 0x1bc], 0
jne 0x3041676
jmp case.0x30419aa.1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1c0]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xfbc]
push ecx
call fcn.030421f0
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x398], edx
cmp dword [ebp - 0x398], 1
je 0x30418f4
cmp dword [ebp - 0x398], 2
je 0x30416c6
cmp dword [ebp - 0x398], 4
je 0x304180d
jmp 0x304196a
cmp dword [ebp - 0x1d4], 0
je 0x3041787
cmp dword [ebp - 0x1b8], 0
jne 0x30416f8
mov dword [ebp - 0x39c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x39c]
jmp 0x3041b32
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.0302b6a0
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
jne 0x3041718
jmp 0x304196a
mov ecx, dword [ebp - 0x1bc]
push ecx
mov edx, dword [ebp - 0x1b0]
push edx
mov eax, dword [ebp - 0x1b8]
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.030423a0
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3041785
mov eax, dword [ebp - 0x1b0]
push eax
call fcn.0302b6f0
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3a0]
jmp 0x3041b32
jmp 0x30417b9
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [ebp - 0xb0]
jb 0x304179a
jmp 0x304196a
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0xd2c], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1b0]
mov dword [ecx + 0xcb0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1bc]
mov dword [eax + 0xd14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xf6c], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.030420d0
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 0x1c0]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfbc]
push edx
call fcn.030421f0
jmp 0x304196a
mov eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0xb0]
jae 0x30418d6
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1ac], ecx
mov edx, dword [ebp - 0x1ac]
cmp dword [edx], 1
je 0x3041841
jmp 0x304196a
cmp dword [ebp + 0xc], 3
jne 0x3041878
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x23c]
test ecx, ecx
jne 0x3041873
push 0x105
mov edx, dword [ebp + 8]
add edx, 0x23c
push edx
mov eax, dword [ebp - 0x1ac]
add eax, 0xc
push eax
call fcn.0303a730
jmp 0x304196a
mov ecx, dword [ebp - 0x1d0]
movzx edx, word [ecx + 0x12]
and edx, 0x200
je 0x30418b8
push 0x105
mov eax, dword [ebp + 8]
add eax, 0x65c
push eax
mov ecx, dword [ebp - 0x1ac]
add ecx, 0xc
push ecx
call fcn.0303a730
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c8]
mov dword [edx + 0x870], eax
jmp 0x30418d6
push 0x105
mov ecx, dword [ebp + 8]
add ecx, 0x23c
push ecx
mov edx, dword [ebp - 0x1ac]
add edx, 0xc
push edx
call fcn.0303a730
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfbc]
push eax
call fcn.030421f0
jmp 0x304196a
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [ebp - 0xb0]
jae 0x304195d
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0x1b4]
mov eax, dword [ebp + 8]
mov dword [eax + 0xcb4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1bc]
mov dword [ecx + 0xd18], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0xd28], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xf68], edx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfbc]
push eax
call fcn.030421f0
jmp 0x304196a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xfb0], 1
mov edx, dword [ebp - 0x1b4]
cmp edx, dword [ebp - 0xb0]
jae case.0x30419aa.1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x3a4]
sub ecx, 3
mov dword [ebp - 0x3a4], ecx
cmp dword [ebp - 0x3a4], 5
ja case.0x30419aa.1
mov edx, dword [ebp - 0x3a4]
jmp dword [edx*4 + 0x3041b50]
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x1b4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xcbc], eax
mov edx, dword [ebp - 0x1bc]
shr edx, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0xce8], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd30], 1
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xf74], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x1c0]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xfbc]
push ecx
call fcn.030421f0
jmp case.0x30419aa.1
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0x1b4]
mov eax, dword [ebp + 8]
mov dword [eax + 0xcc8], edx
mov ecx, dword [ebp - 0x1bc]
shr ecx, 3
mov edx, dword [ebp + 8]
mov dword [edx + 0xcfc], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0xd3c], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xf78], edx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfbc]
push eax
call fcn.030421f0
jmp case.0x30419aa.1
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0x1b4]
mov edx, dword [ebp + 8]
mov dword [edx + 0xccc], ecx
mov eax, dword [ebp - 0x1bc]
shr eax, 3
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd00], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0xd40], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xf7c], ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 0x1c0]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfbc]
push edx
call fcn.030421f0
jmp case.0x30419aa.1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xf80], ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 0x1c0]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfbc]
push edx
call fcn.030421f0
mov eax, dword [ebp - 0x20]
add eax, 0x1c
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x22c]
sub ecx, 1
mov dword [ebp - 0x22c], ecx
jmp 0x3041602
mov dword [ebp - 4], 0xfffffffe
jmp 0x3041b2f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.030554d2
mov esp, ebp
pop ebp
ret 8