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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x30f3408
push 0x306b567
mov eax, dword fs:[0]
push eax
add esp, 0xfffffc24
mov eax, dword [0x30f8968]
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 - 0x398], eax
cmp dword [ebp - 0x398], 1
je 0x304307c
cmp dword [ebp - 0x398], 2
je 0x30430bc
cmp dword [ebp - 0x398], 3
je 0x304311b
jmp 0x304317a
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 0x3043181
mov dword [ebp - 0x1d4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x448]
push edx
call fcn.03044c10
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 0x3043181
mov dword [ebp - 0x1d4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x868]
push ecx
call fcn.03044c10
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 0x3043181
xor eax, eax
jmp 0x30441b1
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 - 0x27c]
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x30431fe
push 0
push 6
call fcn.03022120
mov dword [ebp - 0x39c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x39c]
jmp 0x30441b1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xca4], edx
movzx eax, word [ebp - 0x27c]
cmp eax, 0x4944
jne 0x304321d
jmp 0x3043a4b
movzx ecx, word [ebp - 0x27c]
cmp ecx, 0x5a4d
jne 0x3043328
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3043288
push 0
push 6
call fcn.03022120
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3a0]
jmp 0x30441b1
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x30432e8
push 0
push 6
call fcn.03022120
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3a4]
jmp 0x30441b1
cmp dword [ebp - 0x1a8], 0x4550
je 0x3043323
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 0x304346e
movzx eax, word [ebp - 0x27c]
cmp eax, 0x14c
jne 0x304339e
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x304338f
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3a8]
jmp 0x30441b1
mov dword [ebp - 0x1a8], 0x524f4d20
jmp 0x304346e
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x30433f9
push 0
push 6
call fcn.03022120
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3ac]
jmp 0x30441b1
movzx edx, word [ebp - 0x228]
cmp edx, 0x14c
je 0x3043425
movzx eax, word [ebp - 0x228]
cmp eax, 0x184
je 0x3043425
movzx ecx, word [ebp - 0x228]
cmp ecx, 0x284
jne 0x3043452
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 0x304346e
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3b0]
jmp 0x30441b1
cmp dword [ebp - 0xac], 0
je 0x3043509
mov eax, dword [ebp - 0xac]
movzx ecx, word [eax]
cmp ecx, 0x107
jne 0x30434db
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 0x3043504
mov edx, dword [ebp + 8]
mov dword [edx + 0x11e8], 0xb
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3b4]
jmp 0x30441b1
jmp 0x30436a4
movzx eax, word [ebp - 0x190]
push eax
call fcn.03044b70
test eax, eax
je 0x3043610
push pe_nt_image_headers32
lea ecx, [ebp - 0x390]
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x304357e
push 0
push 6
call fcn.03022120
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3b8]
jmp 0x30441b1
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x1d0], eax
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x108
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x378]
mov word [eax + 0x450], cx
mov edx, dword [ebp + 8]
mov dword [edx + 0xd20], 1
cmp dword [ebp + 0xc], 2
je 0x30435cf
cmp dword [ebp + 0xc], 1
jne 0x30435ff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x360]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x35c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x358]
mov dword [eax + 0xd1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x338]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x340]
mov dword [ecx + 0x20], edx
jmp 0x30436a4
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1d0], eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp + 8]
mov ax, word [ebp - 0x190]
mov word [edx + 0x450], ax
cmp dword [ebp - 0x1a8], 0x524f4d20
jne 0x3043651
mov dword [ebp - 0x1d8], 0xf4
jmp 0x3043660
mov ecx, dword [ebp - 0x2c]
add ecx, 0xf8
mov dword [ebp - 0x1d8], ecx
cmp dword [ebp + 0xc], 2
je 0x304366c
cmp dword [ebp + 0xc], 1
jne 0x3043698
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.030449e0
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.0302ccd0
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
jne 0x30436ea
jmp 0x3043c59
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x28
push eax
mov ecx, dword [ebp - 0x284]
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3043734
jmp 0x3043c59
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x284]
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 - 0x284]
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.030449e0
mov dword [ebp - 0x9c], 0
jmp 0x30437dc
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x284]
add eax, 0x28
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0x1c]
jae 0x3043a46
mov edx, dword [ebp + 8]
cmp dword [edx + 0xd24], 0
je 0x30438c0
mov eax, dword [ebp - 0x1d0]
movzx ecx, word [eax + 0x12]
and ecx, 0x200
jne 0x30438c0
mov dword [ebp - 0x3bc], 0x30038b4
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x3c0], edx
mov eax, dword [ebp - 0x3c0]
mov cl, byte [eax]
mov byte [ebp - 0x3c1], cl
mov edx, dword [ebp - 0x3bc]
cmp cl, byte [edx]
jne 0x3043885
cmp byte [ebp - 0x3c1], 0
je 0x3043879
mov eax, dword [ebp - 0x3c0]
mov cl, byte [eax + 1]
mov byte [ebp - 0x3c2], cl
mov edx, dword [ebp - 0x3bc]
cmp cl, byte [edx + 1]
jne 0x3043885
add dword [ebp - 0x3c0], 2
add dword [ebp - 0x3bc], 2
cmp byte [ebp - 0x3c2], 0
jne 0x3043827
mov dword [ebp - 0x3c8], 0
jmp 0x3043890
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x3c8], eax
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x3cc], ecx
cmp dword [ebp - 0x3cc], 0
jne 0x30438c0
mov dword [ebp - 0x22c], 1
mov edx, dword [ebp - 0x284]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x3043a46
mov ecx, dword [ebp - 0x280]
push ecx
mov edx, dword [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
call fcn.03044850
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0
je 0x3043954
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xf64], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx + 4]
mov dword [eax + 0xfc8], edx
mov eax, dword [ebp - 0x280]
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 - 0x394]
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.03044b90
mov edx, dword [ebp - 0x280]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
call fcn.03044850
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0
je 0x30439a1
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x280]
mov eax, dword [eax + 0x34]
xor edx, edx
mov ecx, 0x1c
div ecx
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x280]
add edx, 0x70
push edx
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
call fcn.03044850
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0
je 0x3043a41
push 0x48
push 0
lea edx, [ebp - 0x278]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x48
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x394]
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.03044b90
cmp dword [ebp - 0x234], 0
jbe 0x3043a29
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1220], 1
jmp 0x3043a41
mov edx, dword [ebp - 0x268]
and edx, 1
je 0x3043a41
mov eax, dword [ebp + 8]
mov dword [eax + 0x1220], 1
jmp 0x30437be
jmp 0x3043c59
push 0x30
lea ecx, [ebp - 0x98]
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3043aa1
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3d0]
jmp 0x30441b1
movzx eax, word [ebp - 0x94]
cmp eax, 0x14c
je 0x3043af7
movzx ecx, word [ebp - 0x94]
cmp ecx, 0x184
je 0x3043af7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x86c], 0
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3d4]
jmp 0x30441b1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x74]
mov dword [edx + 0xd1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x8c]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x94]
mov word [eax + 0x30], cx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x90]
mov dword [edx + 0x28], eax
movzx ecx, word [ebp - 0x92]
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp - 0x3d8]
mov edx, dword [ebp - 0x3d8]
mov eax, dword [ecx + 0x18]
or eax, dword [edx + 0x1c]
jne 0x3043b64
mov ecx, dword [ebp - 0x88]
xor edx, edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x20], 0
jne 0x3043b79
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x84]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x28
push edx
call fcn.0302ccd0
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
jne 0x3043b9f
jmp 0x3043c59
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x28
push eax
mov ecx, dword [ebp - 0x284]
push ecx
push 0
push 0x30
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3043be0
jmp 0x3043c59
mov eax, dword [ebp + 8]
cmp dword [eax + 0xd44], 0
jne 0x3043bfb
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xcdc]
push edx
call fcn.0302cd20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x284]
mov dword [eax + 0xcdc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xd10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x284]
mov dword [ecx + 0xcd4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xd08], ecx
cmp dword [ebp - 0x78], 0
je 0x3043c59
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 0x3043c81
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 0x3044195
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3043ce7
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3dc]
jmp 0x30441b1
cmp dword [ebp - 0x1bc], 0
jne 0x3043cf5
jmp case.0x3044029.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.030449e0
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x3e0], edx
cmp dword [ebp - 0x3e0], 1
je 0x3043f73
cmp dword [ebp - 0x3e0], 2
je 0x3043d45
cmp dword [ebp - 0x3e0], 4
je 0x3043e8c
jmp 0x3043fe9
cmp dword [ebp - 0x1d4], 0
je 0x3043e06
cmp dword [ebp - 0x1b8], 0
jne 0x3043d77
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3e4]
jmp 0x30441b1
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.0302ccd0
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
jne 0x3043d97
jmp 0x3043fe9
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.03044b90
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x3043e04
mov eax, dword [ebp - 0x1b0]
push eax
call fcn.0302cd20
mov dword [ebp - 0x3e8], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3e8]
jmp 0x30441b1
jmp 0x3043e38
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [ebp - 0xb0]
jb 0x3043e19
jmp 0x3043fe9
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.030448c0
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.030449e0
jmp 0x3043fe9
mov eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0xb0]
jae 0x3043f55
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 0x3043ec0
jmp 0x3043fe9
cmp dword [ebp + 0xc], 3
jne 0x3043ef7
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x23c]
test ecx, ecx
jne 0x3043ef2
push 0x105
mov edx, dword [ebp + 8]
add edx, 0x23c
push edx
mov eax, dword [ebp - 0x1ac]
add eax, 0xc
push eax
call fcn.0303cbb0
jmp 0x3043fe9
mov ecx, dword [ebp - 0x1d0]
movzx edx, word [ecx + 0x12]
and edx, 0x200
je 0x3043f37
push 0x105
mov eax, dword [ebp + 8]
add eax, 0x65c
push eax
mov ecx, dword [ebp - 0x1ac]
add ecx, 0xc
push ecx
call fcn.0303cbb0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c8]
mov dword [edx + 0x870], eax
jmp 0x3043f55
push 0x105
mov ecx, dword [ebp + 8]
add ecx, 0x23c
push ecx
mov edx, dword [ebp - 0x1ac]
add edx, 0xc
push edx
call fcn.0303cbb0
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.030449e0
jmp 0x3043fe9
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [ebp - 0xb0]
jae 0x3043fdc
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.030449e0
jmp 0x3043fe9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xfb0], 1
mov edx, dword [ebp - 0x1b4]
cmp edx, dword [ebp - 0xb0]
jae case.0x3044029.1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x3ec], eax
mov ecx, dword [ebp - 0x3ec]
sub ecx, 3
mov dword [ebp - 0x3ec], ecx
cmp dword [ebp - 0x3ec], 5
ja case.0x3044029.1
mov edx, dword [ebp - 0x3ec]
jmp dword [edx*4 + 0x30441d0]
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.030449e0
jmp case.0x3044029.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.030449e0
jmp case.0x3044029.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.030449e0
jmp case.0x3044029.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.030449e0
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 0x3043c81
mov dword [ebp - 4], 0xfffffffe
jmp 0x30441ae
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.0306b4ac
mov esp, ebp
pop ebp
ret 8