Function at 0x100013c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [0x1003f50c]
xor eax, eax
push esi
push edi
push 8
pop ecx
mov esi, str.CreatePopupMenu
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push 0x46
pop ecx
mov edx, eax
cmp cx, word [ebp - 0x28]
jne 0x10001435
xor esi, esi
test cx, cx
je 0x1000140e
cmp word [ebp + eax - 0x28], si
je 0x1000140e
inc edx
lea eax, [edx + edx]
movzx ecx, word [eax + str.FillOrder]
cmp cx, word [ebp + eax - 0x28]
je 0x100013f0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp eax, edx
jae 0x10001437
mov edx, dword [0x1003f54c]
mov ecx, dword [ebp - 4]
cmp eax, 0x1c4a
jne 0x1000142e
lea edx, [ebx - 0x3faade7b]
inc eax
cmp eax, ecx
jb 0x10001421
jmp 0x1000143d
xor esi, esi
mov edx, dword [0x1003f54c]
push 0xa
pop ecx
mov dword [ebp - 4], esi
lea edi, [ebp - 0x30]
mov esi, str.System_locale_name:
rep movsd dword es:[edi], dword [esi]
push 0x77
pop eax
xor edi, edi
cmp ax, word [ebp - 0x30]
jne 0x10001480
mov esi, eax
mov ecx, edi
mov eax, dword [ebp - 4]
test si, si
je 0x1000147d
cmp word [ebp + ecx - 0x30], di
je 0x1000147d
inc eax
lea ecx, [eax + eax]
movzx esi, word [ecx + str.wxART_GO_DIR_UP]
cmp si, word [ebp + ecx - 0x30]
je 0x1000145f
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, byte [eax*2 + str.wxART_GO_DIR_UP]
movzx eax, byte [ebp + eax*2 - 0x30]
sub ecx, eax
cmp ecx, 0x1a69
ja 0x100014a0
imul ebx, ebx, 0xd70463ac
push 5
pop ecx
mov dword [ebp - 8], edi
mov esi, str.hiroshima
lea edi, [ebp - 0x1c]
xor edx, 0x6161a7b6
push 0x77
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x1003f48c]
pop eax
mov dword [ebp - 4], ecx
cmp ax, word [ebp - 0x1c]
jne 0x100014fd
mov edi, dword [ebp - 8]
xor ecx, ecx
mov esi, ecx
test ax, ax
je 0x100014ed
cmp word [ebp + esi - 0x1c], cx
je 0x100014ed
inc edi
lea esi, [edi + edi]
movzx eax, word [esi + str.wxART_GO_DIR_UP]
cmp ax, word [ebp + esi - 0x1c]
je 0x100014cf
mov ecx, dword [ebp - 4]
cmp dword [ebp - 8], edi
jae 0x100014fd
mov ebx, ecx
xor ebx, 0x4632f360
mov esi, str.wxART_ERROR
lea edi, [ebp - 0x14]
and edx, 0xae086046
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x14], 0x31
jne 0x10001559
mov cl, 0x31
test cl, cl
je 0x10001530
cmp byte [ebp + eax - 0x14], 0
je 0x10001530
mov cl, byte [eax + 0x10032fc1]
inc eax
cmp cl, byte [ebp + eax - 0x14]
je 0x10001518
mov ecx, dword [ebp - 8]
cmp ecx, eax
jae 0x10001556
mov esi, dword [ebp - 4]
cmp ecx, 0x22a5
jne 0x10001548
lea ebx, [esi + 0x2bb4597]
imul esi, ebx, 0x95c24fc0
inc ecx
cmp ecx, eax
jb 0x1000153a
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 4]
and ecx, 0x9fbcbb6f
xor eax, eax
imul edi, edx, 0x8aace836
mov dword [0x1003f48c], ecx
mov ecx, eax
mov dword [0x1003f500], edi
inc ecx
cmp byte [ecx + str.1_10181_1H1P1X1_1h1p1x1], al
jne 0x10001575
mov esi, dword [ebp - 8]
jmp 0x1000159d
cmp esi, 0x6b5
jne 0x10001596
lea eax, [edi - 0x52fa8b57]
mov dword [0x1003f48c], eax
or ebx, 0xda00702d
inc esi
cmp esi, ecx
jb 0x10001583
mov eax, str.FillOrder
xor esi, esi
lea eax, [eax + 2]
xor edx, 0x4b538929
cmp word [eax], si
jne 0x100015a8
imul eax, edx, 0xf22e675f
mov dword [0x1003f50c], eax
lea eax, [edi + 0x49049c16]
pop edi
pop esi
mov dword [0x1003f54c], eax
pop ebx
leave
ret