Function at 0x10010320
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 - 0xb8], 0
jmp 0x10010346
mov eax, dword [ebp - 0xb8]
add eax, 1
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x50
jae 0x1001036a
lea eax, [ebp - 0x90]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0xb8]
cdq
add ecx, eax
adc esi, edx
mov byte [ecx], 0
jmp 0x10010337
mov edx, dword fs:[0x30]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
je 0x1001040a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax]
cmp ecx, 0x4e
je 0x100103b1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax]
cmp ecx, 0x6e
jne 0x100103f3
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax + 2]
cmp ecx, 0x74
jne 0x100103f3
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
movzx ecx, word [eax + 2]
cmp ecx, 0x74
jne 0x100103f3
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 0x100103f3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
je 0x10010400
jmp 0x1001040a
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x1001038c
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xe0], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x90]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x10], ecx
jmp 0x1001046c
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + edx]
xor ecx, 0xbbeaf4ff
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + eax + 4]
xor edx, 0xbbeaf4ff
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + ecx + 8]
xor eax, 0xbbeaf4ff
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + edx + 0xc]
xor ecx, 0xbbeaf4ff
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + eax + 0x10]
xor edx, 0xbbeaf4ff
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, 0xbbeaf4ff
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0x84], 0
jne 0x1001055f
cmp dword [ebp - 0x20], 0xd7ab83a5
jne 0x1001055f
cmp dword [ebp - 0x24], 0xda899b93
jne 0x1001055f
cmp dword [ebp - 0x34], 0xd2bc918b
jne 0x1001055f
cmp dword [ebp - 0x38], 0xda9f808d
jne 0x1001055f
cmp dword [ebp - 0x3c], 0xd68fb993
jne 0x1001055f
cmp dword [ebp - 0xc8], 0xbb938690
jne 0x1001055f
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
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 0x100105b0
cmp dword [ebp - 0x20], 0xc9ac83a5
jne 0x100105b0
cmp dword [ebp - 0x24], 0xd2bc919a
jne 0x100105b0
cmp dword [ebp - 0x34], 0xda9f808d
jne 0x100105b0
cmp dword [ebp - 0x38], 0xd68fb993
jne 0x100105b0
cmp dword [ebp - 0x3c], 0xbb938690
jne 0x100105b0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
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 0x100105ec
cmp dword [ebp - 0x20], 0xf79890b3
jne 0x100105ec
cmp dword [ebp - 0x24], 0xff8e9590
jne 0x100105ec
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
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 0x10010643
cmp dword [ebp - 0x20], 0xfc9890b3
jne 0x10010643
cmp dword [ebp - 0x24], 0xc9ba809a
jne 0x10010643
cmp dword [ebp - 0x34], 0xdf8f9790
jne 0x10010643
cmp dword [ebp - 0x38], 0xfa8f868a
jne 0x10010643
cmp dword [ebp - 0x3c], 0xde98909b
jne 0x10010643
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
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 0x100106a0
cmp dword [ebp - 0x20], 0xfa8680ad
jne 0x100106a0
cmp dword [ebp - 0x24], 0xe8838791
jne 0x100106a0
cmp dword [ebp - 0x34], 0xd583868b
jne 0x100106a0
cmp dword [ebp - 0x38], 0xee85a098
jne 0x100106a0
cmp dword [ebp - 0x3c], 0xd4899d91
jne 0x100106a0
cmp dword [ebp - 0xc8], 0xcfb9919b
jne 0x100106a0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
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 0x100106f1
cmp dword [ebp - 0x20], 0xfd8680ad
jne 0x100106f1
cmp dword [ebp - 0x24], 0xee8f918d
jne 0x100106f1
cmp dword [ebp - 0x34], 0xd4899d91
jne 0x100106f1
cmp dword [ebp - 0x38], 0xcfb9919b
jne 0x100106f1
cmp dword [ebp - 0x3c], 0xdc849d8d
jne 0x100106f1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x90]
add edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
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 0x10010766
cmp dword [ebp - 0x20], 0xff8680ad
jne 0x10010766
cmp dword [ebp - 0x24], 0xd685979a
jne 0x10010766
cmp dword [ebp - 0x34], 0xc88f868f
jne 0x10010766
cmp dword [ebp - 0x38], 0xdd9fb68c
jne 0x10010766
cmp dword [ebp - 0x3c], 0x726566
jne 0x10010730
mov dword [ebp - 0xcc], 1
jmp 0x1001073a
mov dword [ebp - 0xcc], 0
mov ecx, dword [ebp - 0xcc]
xor ecx, 0xbbeaf4ff
je 0x10010766
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x10]
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 0x10010795
cmp dword [ebp - 0x84], 0
je 0x10010795
cmp dword [ebp - 0x80], 0
je 0x10010795
cmp dword [ebp - 0x8c], 0
je 0x10010795
cmp dword [ebp - 0x74], 0
je 0x10010795
cmp dword [ebp - 0x78], 0
je 0x10010795
jmp 0x1001079a
jmp 0x1001045a
mov dword [ebp - 0x18], 0
jmp 0x100107ac
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 4
jge 0x10010807
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 0x100107a3
mov dword [ebp - 0x1c], 4
jmp 0x10010819
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 0x1001087b
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 0x10010810
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xb4], ecx
push 4
push 0x1000
lea edx, [ebp - 0xb4]
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 0x100108e3
xor eax, eax
jmp 0x10010e70
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 0x10010901
xor eax, eax
jmp 0x10010e70
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0xb4], eax
push 0x40
push 0x1000
lea ecx, [ebp - 0xb4]
push ecx
push 0
lea edx, [ebp - 0x5c]
push edx
push 0xffffffffffffffff
call dword [ebp - 0x84]
cmp dword [ebp - 0x5c], 0
jne 0x10010936
xor eax, eax
jmp 0x10010e70
mov dword [ebp - 0x94], 0
jmp 0x10010951
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 0x1001098b
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 0x10010942
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 - 0x28], ecx
mov dword [ebp - 0xc4], 0
jmp 0x100109d5
mov edx, dword [ebp - 0xc4]
add edx, 1
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x28]
add eax, 0x28
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x58]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0xc4], edx
jge 0x10010aa6
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x10], 0
jne 0x10010a42
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 0x38], 0
jbe 0x10010a40
mov dword [ebp - 0x9c], 0
jmp 0x10010a15
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax + 0x38]
jae 0x10010a40
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0xc]
mov ecx, eax
xor esi, esi
mov eax, dword [ebp - 0x9c]
cdq
add ecx, eax
adc esi, edx
mov byte [ecx], 0
jmp 0x10010a06
jmp 0x10010aa1
mov dword [ebp - 0x98], 0
jmp 0x10010a5d
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [eax + 0x10]
jae 0x10010aa1
mov edx, dword [ebp - 0x28]
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 - 0x28]
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 0x10010a4e
jmp 0x100109bd
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
sub eax, dword [edx + 0x34]
mov dword [ebp - 0x54], eax
je 0x10010bc9
mov ecx, 8
imul edx, ecx, 5
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edx + 0x78]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
cmp dword [edx + 4], 0
jbe 0x10010bc9
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx], 0
jbe 0x10010bc9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0x2c]
add edx, 8
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xbc], 0
jmp 0x10010b3b
mov eax, dword [ebp - 0xbc]
add eax, 1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 2
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0xbc], eax
jae 0x10010bb8
mov ecx, dword [ebp - 0xa0]
movzx edx, word [ecx]
sar edx, 0xc
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xa0]
movzx ecx, word [eax]
and ecx, 0xfff
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 3
je 0x10010b8e
jmp 0x10010bb3
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xec]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
add edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0xd8]
mov dword [eax], edx
jmp 0x10010b1d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + 4]
mov dword [ebp - 0x2c], edx
jmp 0x10010aeb
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + eax + 0x78]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 4], 0
jbe 0x10010db8
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x5c]
add edx, dword [ecx]
mov dword [ebp - 8], edx
jmp 0x10010c07
mov eax, dword [ebp - 8]
add eax, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10010db8
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xc], 0
je 0x10010db8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xa4], 0
jmp 0x10010c45
mov ecx, dword [ebp - 0xa4]
add ecx, 1
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0xa4]
movsx eax, byte [edx]
test eax, eax
je 0x10010c57
jmp 0x10010c36
mov cx, word [ebp - 0xa4]
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 0x10010ca6
xor eax, eax
jmp 0x10010e70
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x10010cc7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
jmp 0x10010cdf
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x5c]
add edx, dword [ecx + 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x40], ecx
jmp 0x10010cf3
mov edx, dword [ebp - 0x30]
add edx, 4
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0
je 0x10010db3
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
and eax, 0x80000000
je 0x10010d30
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x30]
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 0x10010da4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
add ecx, 2
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0xa8], 0
jmp 0x10010d65
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0xa8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x10010d77
jmp 0x10010d56
mov dx, word [ebp - 0xa8]
mov word [ebp - 0x48], dx
movzx eax, word [ebp - 0x48]
add eax, 1
mov word [ebp - 0x46], ax
mov ecx, dword [ebp - 0x40]
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 - 0x40]
cmp dword [ecx], 0
jne 0x10010dae
jmp 0x10010db3
jmp 0x10010ce1
jmp 0x10010bfe
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx + 0x28]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xac], 0
jmp 0x10010de2
mov ecx, dword [ebp - 0xac]
add ecx, 1
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xac], 4
jae 0x10010e03
mov eax, dword [ebp - 0x5c]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0xac]
cdq
add ecx, eax
adc esi, edx
mov byte [ecx], 0
jmp 0x10010dd3
mov dword [ebp - 0xb0], 0
jmp 0x10010e1e
mov edx, dword [ebp - 0xb0]
add edx, 1
mov dword [ebp - 0xb0], edx
cmp dword [ebp - 0xb0], 4
jae 0x10010e3f
mov eax, dword [ebp - 0x58]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0xb0]
cdq
add ecx, eax
adc esi, edx
mov byte [ecx], 0
jmp 0x10010e0f
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x28], 0
je 0x10010e58
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [ebp - 0xf4]
push 0x4000
lea edx, [ebp - 0xb4]
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