Function at 0x100041c0
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push esi
push edi
mov dword [ebp - 0xa8], 0
jmp 0x100041e6
mov eax, dword [ebp - 0xa8]
add eax, 1
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x50
jae 0x1000420a
lea eax, [ebp - 0x90]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0xa8]
cdq
add ecx, eax
adc esi, edx
mov byte [ecx], 0
jmp 0x100041d7
mov edx, dword fs:[0x30]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
je 0x100042aa
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax]
cmp ecx, 0x4e
je 0x10004251
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax]
cmp ecx, 0x6e
jne 0x10004293
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax + 2]
cmp ecx, 0x74
jne 0x10004293
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax + 2]
cmp ecx, 0x74
jne 0x10004293
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax + 6]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx edx, word [eax + 8]
cmp ecx, edx
jne 0x10004293
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
je 0x100042a0
jmp 0x100042aa
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x1000422c
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xf8], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x90]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0xc], ecx
jmp 0x1000430c
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + edx]
xor ecx, 0x542c612e
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + eax + 4]
xor edx, 0x542c612e
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + ecx + 8]
xor eax, 0x542c612e
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + edx + 0xc]
xor ecx, 0x542c612e
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + eax + 0x10]
xor edx, 0x542c612e
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + ecx + 0x14]
xor eax, 0x542c612e
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0x84], 0
jne 0x100043ff
cmp dword [ebp - 0x2c], 0x386d1674
jne 0x100043ff
cmp dword [ebp - 0x30], 0x354f0e42
jne 0x100043ff
cmp dword [ebp - 0x40], 0x3d7a045a
jne 0x100043ff
cmp dword [ebp - 0x34], 0x3559155c
jne 0x100043ff
cmp dword [ebp - 0x3c], 0x39492c42
jne 0x100043ff
cmp dword [ebp - 0xd8], 0x54551341
jne 0x100043ff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x80], 0
jne 0x10004450
cmp dword [ebp - 0x2c], 0x266a1674
jne 0x10004450
cmp dword [ebp - 0x30], 0x3d7a044b
jne 0x10004450
cmp dword [ebp - 0x40], 0x3559155c
jne 0x10004450
cmp dword [ebp - 0x34], 0x39492c42
jne 0x10004450
cmp dword [ebp - 0x3c], 0x54551341
jne 0x10004450
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x88], 0
jne 0x1000448c
cmp dword [ebp - 0x2c], 0x185e0562
jne 0x1000448c
cmp dword [ebp - 0x30], 0x10480041
jne 0x1000448c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x8c], 0
jne 0x100044e3
cmp dword [ebp - 0x2c], 0x135e0562
jne 0x100044e3
cmp dword [ebp - 0x30], 0x267c154b
jne 0x100044e3
cmp dword [ebp - 0x40], 0x30490241
jne 0x100044e3
cmp dword [ebp - 0x34], 0x1549135b
jne 0x100044e3
cmp dword [ebp - 0x3c], 0x315e054a
jne 0x100044e3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x78], 0
jne 0x10004540
cmp dword [ebp - 0x2c], 0x1540157c
jne 0x10004540
cmp dword [ebp - 0x30], 0x7451240
jne 0x10004540
cmp dword [ebp - 0x40], 0x3a45135a
jne 0x10004540
cmp dword [ebp - 0x34], 0x1433549
jne 0x10004540
cmp dword [ebp - 0x3c], 0x3b4f0840
jne 0x10004540
cmp dword [ebp - 0xd8], 0x207f044a
jne 0x10004540
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x74], 0
jne 0x10004591
cmp dword [ebp - 0x2c], 0x1240157c
jne 0x10004591
cmp dword [ebp - 0x30], 0x149045c
jne 0x10004591
cmp dword [ebp - 0x40], 0x3b4f0840
jne 0x10004591
cmp dword [ebp - 0x34], 0x207f044a
jne 0x10004591
cmp dword [ebp - 0x3c], 0x3342085c
jne 0x10004591
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x7c], 0
jne 0x10004606
cmp dword [ebp - 0x2c], 0x1040157c
jne 0x10004606
cmp dword [ebp - 0x30], 0x3943024b
jne 0x10004606
cmp dword [ebp - 0x40], 0x2749135e
jne 0x10004606
cmp dword [ebp - 0x34], 0x3259235d
jne 0x10004606
cmp dword [ebp - 0x3c], 0x726566
jne 0x100045d0
mov dword [ebp - 0xd4], 1
jmp 0x100045da
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xd4]
xor ecx, 0x542c612e
je 0x10004606
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
mov ecx, dword [ebp - 0x90]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x88], 0
je 0x10004635
cmp dword [ebp - 0x84], 0
je 0x10004635
cmp dword [ebp - 0x80], 0
je 0x10004635
cmp dword [ebp - 0x8c], 0
je 0x10004635
cmp dword [ebp - 0x74], 0
je 0x10004635
cmp dword [ebp - 0x78], 0
je 0x10004635
jmp 0x1000463a
jmp 0x100042fa
mov dword [ebp - 0x18], 0
jmp 0x1000464c
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 4
jge 0x100046a7
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
movzx edx, word [eax + edx*2 + 4]
add edx, ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2 + 4], dx
mov edx, dword [ebp + 8]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
movzx ecx, word [edx + ecx*2 + 4]
xor ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov word [eax + edx*2 + 4], cx
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x18]
lea ecx, [edx + eax + 0x128e]
mov edx, dword [ebp + 8]
mov word [edx], cx
jmp 0x10004643
mov dword [ebp - 0x1c], 4
jmp 0x100046b9
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
shr edx, 1
cmp dword [ebp - 0x1c], edx
jae 0x1000471b
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
movzx edx, word [eax + edx*2 + 4]
add edx, ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2 + 4], dx
mov edx, dword [ebp + 8]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
movzx ecx, word [edx + ecx*2 + 4]
xor ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov word [eax + edx*2 + 4], cx
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x1c]
lea ecx, [edx + eax + 0x128e]
mov edx, dword [ebp + 8]
mov word [edx], cx
jmp 0x100046b0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa4], ecx
push 4
push 0x1000
lea edx, [ebp - 0xa4]
push edx
push 0
lea eax, [ebp - 0x70]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x84]
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
push 0x102
call dword [ebp - 0x7c]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x10004783
xor eax, eax
jmp 0x10004d10
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x70]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
cmp dword [ecx], 0x4550
je 0x100047a1
xor eax, eax
jmp 0x10004d10
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0xa4], eax
push 0x40
push 0x1000
lea ecx, [ebp - 0xa4]
push ecx
push 0
lea edx, [ebp - 0x5c]
push edx
push 0xffffffffffffffff
call dword [ebp - 0x84]
cmp dword [ebp - 0x5c], 0
jne 0x100047d6
xor eax, eax
jmp 0x10004d10
mov dword [ebp - 0x94], 0
jmp 0x100047f1
mov eax, dword [ebp - 0x94]
add eax, 1
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x94]
cmp edx, dword [ecx + 0x54]
jae 0x1000482b
mov eax, dword [ebp - 0x64]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x94]
cdq
add ecx, eax
adc esi, edx
mov eax, dword [ebp - 0x5c]
cdq
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x94]
cdq
add esi, eax
adc edi, edx
mov dl, byte [ecx]
mov byte [esi], dl
jmp 0x100047e2
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x58]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xbc], 0
jmp 0x10004875
mov edx, dword [ebp - 0xbc]
add edx, 1
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x58]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0xbc], edx
jge 0x10004946
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0
jne 0x100048e2
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 0x38], 0
jbe 0x100048e0
mov dword [ebp - 0xac], 0
jmp 0x100048b5
mov edx, dword [ebp - 0xac]
add edx, 1
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax + 0x38]
jae 0x100048e0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0xc]
mov ecx, eax
xor esi, esi
mov eax, dword [ebp - 0xac]
cdq
add ecx, eax
adc esi, edx
mov byte [ecx], 0
jmp 0x100048a6
jmp 0x10004941
mov dword [ebp - 0x98], 0
jmp 0x100048fd
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [eax + 0x10]
jae 0x10004941
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x70]
add eax, dword [edx + 0x14]
mov ecx, eax
xor esi, esi
mov eax, dword [ebp - 0x98]
cdq
add ecx, eax
adc esi, edx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0xc]
mov esi, eax
xor edi, edi
mov eax, dword [ebp - 0x98]
cdq
add esi, eax
adc edi, edx
mov cl, byte [ecx]
mov byte [esi], cl
jmp 0x100048ee
jmp 0x1000485d
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
sub eax, dword [edx + 0x34]
mov dword [ebp - 0x54], eax
je 0x10004a69
mov ecx, 8
imul edx, ecx, 5
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edx + 0x78]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 4], 0
jbe 0x10004a69
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0
jbe 0x10004a69
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0x24]
add edx, 8
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xc4], 0
jmp 0x100049db
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xb4]
add ecx, 2
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0xc4], eax
jae 0x10004a58
mov ecx, dword [ebp - 0xb4]
movzx edx, word [ecx]
sar edx, 0xc
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xb4]
movzx ecx, word [eax]
and ecx, 0xfff
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xf4], edx
cmp dword [ebp - 0xf4], 3
je 0x10004a2e
jmp 0x10004a53
mov eax, dword [ebp - 0xec]
add eax, dword [ebp - 0xe0]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
add edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xcc]
mov dword [eax], edx
jmp 0x100049bd
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 4]
mov dword [ebp - 0x24], edx
jmp 0x1000498b
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + eax + 0x78]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 4], 0
jbe 0x10004c58
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x5c]
add edx, dword [ecx]
mov dword [ebp - 8], edx
jmp 0x10004aa7
mov eax, dword [ebp - 8]
add eax, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10004c58
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xc], 0
je 0x10004c58
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x9c], 0
jmp 0x10004ae5
mov ecx, dword [ebp - 0x9c]
add ecx, 1
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x9c]
movsx eax, byte [edx]
test eax, eax
je 0x10004af7
jmp 0x10004ad6
mov cx, word [ebp - 0x9c]
mov word [ebp - 0x48], cx
movzx edx, word [ebp - 0x48]
add edx, 1
mov word [ebp - 0x46], dx
push 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [ebp - 0x78]
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x50]
push eax
push 0
push 0
call dword [ebp - 0x88]
lea ecx, [ebp - 0x50]
push ecx
call dword [ebp - 0x74]
cmp dword [ebp - 0xc0], 0
jne 0x10004b46
xor eax, eax
jmp 0x10004d10
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x10004b67
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x38], eax
jmp 0x10004b7f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x5c]
add edx, dword [ecx + 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x38], ecx
jmp 0x10004b93
mov edx, dword [ebp - 0x28]
add edx, 4
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ecx], 0
je 0x10004c53
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
and eax, 0x80000000
je 0x10004bd0
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
and eax, 0xffff
and eax, 0xffff
push eax
push 0
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [ebp - 0x8c]
jmp 0x10004c44
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
add ecx, 2
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0xb0], 0
jmp 0x10004c05
mov edx, dword [ebp - 0xb0]
add edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0xb0]
movsx ecx, byte [eax]
test ecx, ecx
je 0x10004c17
jmp 0x10004bf6
mov dx, word [ebp - 0xb0]
mov word [ebp - 0x48], dx
movzx eax, word [ebp - 0x48]
add eax, 1
mov word [ebp - 0x46], ax
mov ecx, dword [ebp - 0x38]
push ecx
push 0
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xc0]
push eax
call dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x38]
cmp dword [ecx], 0
jne 0x10004c4e
jmp 0x10004c53
jmp 0x10004b81
jmp 0x10004a9e
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0x28]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xb8], 0
jmp 0x10004c82
mov ecx, dword [ebp - 0xb8]
add ecx, 1
mov dword [ebp - 0xb8], ecx
cmp dword [ebp - 0xb8], 4
jae 0x10004ca3
mov eax, dword [ebp - 0x5c]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0xb8]
cdq
add ecx, eax
adc esi, edx
mov byte [ecx], 0
jmp 0x10004c73
mov dword [ebp - 0xa0], 0
jmp 0x10004cbe
mov edx, dword [ebp - 0xa0]
add edx, 1
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 4
jae 0x10004cdf
mov eax, dword [ebp - 0x58]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0xa0]
cdq
add ecx, eax
adc esi, edx
mov byte [ecx], 0
jmp 0x10004caf
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x28], 0
je 0x10004cf8
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [ebp - 0xf0]
push 0x4000
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x70]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x80]
mov eax, dword [ebp - 0x5c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4