Function at 0x402b47
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43c4c0]
push ebx
and eax, 0xbfffffff
mov dword [ebp - 0x14], edx
or eax, 0x20000000
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov dword [0x43c4c0], eax
call fcn.004142e0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x402df0
push esi
mov esi, eax
mov dword [ebp - 0xc], esi
nop dword [eax]
xor eax, eax
cmp byte [0x43c5ac], 1
cmove ebx, eax
mov dword [ebp - 0x18], ebx
test edi, edi
je 0x402793
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x40275a
push eax
call fcn.0041d6c3
add esp, 4
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x28]
test eax, eax
je 0x402771
push eax
call fcn.0041d6c3
add esp, 4
mov dword [edi + 0x28], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x402788
push eax
call fcn.0041d6c3
add esp, 4
mov dword [edi + 0x24], 0
push edi
call fcn.0041d6c3
add esp, 4
xor edi, edi
cmp dword [0x43c4d4], 0xfffe
ja 0x403268
push 0x34
call fcn.0041d6de
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov ebx, edi
mov dword [ebp - 8], ebx
test edi, edi
je 0x403221
push 0x34
push 0
push edi
call fcn.0041b050
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
cmove eax, edi
or byte [edi + 0xf], 8
mov dword [ebp - 4], eax
mov eax, dword [0x43c4d4]
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0xffffffff
mov edi, dword [ebp - 4]
nop dword [eax]
movzx ecx, word [esi]
test cx, cx
je 0x40280f
cmp cx, 0x20
ja 0x40280f
movzx eax, word [esi + 2]
add esi, 2
mov dword [ebp - 0xc], esi
mov ecx, eax
test ax, ax
jne 0x4027f8
movzx ecx, word [esi]
mov eax, ecx
cmp eax, 0x7b
ja case.0x402824.1
movzx eax, byte [eax + 0x4032c4]
jmp dword [eax*4 + 0x40327c]
mov ebx, 0xa
jmp 0x402837
mov ebx, 0x7d
movzx eax, word [esi + 2]
add esi, 2
mov dword [ebp - 0xc], esi
mov edx, esi
mov dword [ebp - 0x1c], edx
mov edi, edx
cmp ax, bx
je 0x402878
mov ecx, eax
nop
test cx, cx
je 0x402883
cmp cx, 0x20
jae 0x402863
mov eax, 0x20
mov word [esi], ax
movzx eax, word [edx + 2]
lea esi, [edx + 2]
mov dword [ebp - 0xc], esi
mov edi, esi
mov edx, esi
mov ecx, eax
cmp ax, bx
jne 0x402850
xor eax, eax
mov word [esi], ax
lea esi, [edi + 2]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
call fcn.00410d70
test ebx, ebx
je 0x402904
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402896
sub ecx, edx
sar ecx, 1
je 0x402904
mov edi, dword [ebp - 4]
mov edx, dword [edi + 0x28]
test edx, edx
je 0x4028dd
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4028b6
sub ecx, edi
sar ecx, 1
je 0x4028dd
push ebx
push 0x436320
push edx
push str._s_s_s
call fcn.00414380
add esp, 0x10
jmp 0x4028e4
mov ecx, ebx
call fcn.004142e0
mov edi, eax
test edi, edi
je 0x402d78
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x402901
push eax
call fcn.0041d6c3
add esp, 4
mov dword [ebx + 0x28], edi
test dword [0x43c4c0], 0x20000000
je 0x402a52
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x402933
mov ecx, 0x436452
call fcn.004142e0
mov ebx, dword [ebp - 8]
mov dword [edi + 0x28], eax
jmp 0x4027f0
push 0x436452
push eax
push 0
call fcn.00414380
mov edi, eax
add esp, 0xc
test edi, edi
je 0x402960
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x40295c
push eax
call fcn.0041d6c3
add esp, 4
mov dword [ebx + 0x28], edi
nop
mov ebx, dword [ebp - 8]
jmp 0x4027ea
mov edx, dword [0x43c17c]
add esi, 2
jmp 0x4029ce
cmp word [esi + 2], 0x2d
jne case.0x402824.50
cmp word [esi + 4], 0x31
jne case.0x402824.50
mov edx, dword [0x43c11c]
add esi, 6
jmp 0x4029ce
cmp word [esi + 2], 0x2d
jne 0x4029ad
cmp word [esi + 4], 0x30
jne 0x4029ad
mov edx, dword [0x43c118]
add esi, 6
jmp 0x4029ce
push 7
push str.1_2_1_2
push esi
call fcn.0041e1ae
add esp, 0xc
test eax, eax
jne case.0x402824.50
mov edx, dword [0x43c120]
add esi, 0xe
mov dword [ebp - 0xc], esi
test edx, edx
je 0x4027f0
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4029e0
sub ecx, edi
mov edi, dword [ebp - 4]
sar ecx, 1
je 0x4027f0
mov edi, dword [edi + 0x2c]
test edi, edi
je 0x402a2b
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402a04
sub ecx, ebx
sar ecx, 1
je 0x402a2b
push edx
push 0x436320
push edi
push str._s_s_s
call fcn.00414380
add esp, 0x10
jmp 0x402a32
mov ecx, edx
call fcn.004142e0
mov edi, eax
test edi, edi
je 0x402d78
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x402a4f
push eax
call fcn.0041d6c3
add esp, 4
mov dword [ebx + 0x2c], edi
mov ebx, dword [ebp - 8]
jmp 0x4027ea
mov ecx, esi
call fcn.00414460
movzx ecx, word [esi]
mov dword [ebp - 0x18], eax
cmp ecx, 0x30
jb 0x402a8a
nop dword [eax]
cmp cx, 0x39
ja 0x402a87
movzx eax, word [esi + 2]
add esi, 2
mov dword [ebp - 0xc], esi
mov ecx, eax
cmp eax, 0x30
jae 0x402a70
mov eax, dword [ebp - 0x18]
cmp eax, 0x80000000
je 0x402a95
test eax, eax
jns 0x402a9d
mov eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 1
cmove ecx, eax
cmp word [esi], 0x2e
mov dword [ebp - 0x14], ecx
jne 0x4027ea
add esi, 2
cmp word [esi], 0x2e
je 0x402ab3
mov dword [ebp - 0xc], esi
jmp 0x4027f0
push 5
push str.O_O_O
push esi
call fcn.0041e1ae
add esp, 0xc
test eax, eax
je 0x402e98
push 3
push 0x436314
push esi
call fcn.0041e1ae
add esp, 0xc
test eax, eax
je 0x402e91
cmp word [esi], 0
je 0x4027f0
nop
mov al, byte [esi]
cmp al, 0x41
jl 0x402b0a
cmp al, 0x5a
jle 0x402b36
cmp al, 0x61
jl 0x402b12
cmp al, 0x7a
jle 0x402b36
cmp al, 0x30
jl 0x402b1a
cmp al, 0x39
jle 0x402b36
cmp al, 0x3d
je 0x402b36
cmp al, 0x2b
je 0x402b36
cmp al, 0x23
je 0x402b36
cmp al, 0x3a
je 0x402b36
cmp al, 0x2d
je 0x402b36
cmp al, 0x5f
jne 0x4027f0
add esi, 2
mov dword [ebp - 0xc], esi
cmp word [esi], 0
jne 0x402b00
jmp 0x4027f0
add esi, 2
mov ecx, esi
mov dword [ebp - 0xc], esi
call fcn.00414460
mov edx, eax
cmp edx, 0x80000000
je 0x402b94
cmp edx, 1
jl 0x402b94
cmp edx, 0x8c
jge 0x402b94
xor ecx, ecx
nop dword [eax]
movzx eax, byte [edi + ecx + 0xa]
cmp eax, edx
je 0x402b94
inc ecx
cmp ecx, 5
jb 0x402b70
xor eax, eax
cmp byte [edi + eax + 0xa], 0
je 0x402b90
inc eax
cmp eax, 5
jb 0x402b81
jmp 0x402b94
mov byte [eax + edi + 0xa], dl
movzx ecx, word [esi]
cmp ecx, 0x30
jb 0x4027ea
cmp cx, 0x39
ja 0x4027ea
movzx eax, word [esi + 2]
add esi, 2
mov dword [ebp - 0xc], esi
mov ecx, eax
cmp eax, 0x30
jae 0x402ba0
jmp 0x4027f0
lea eax, [esi + 2]
mov edx, 1
mov dword [ebp - 0x1c], eax
jmp 0x402bd3
mov ebx, dword [ebp - 8]
add esi, 2
mov eax, esi
mov edi, esi
cmp word [esi], 0x7b
jne 0x402bfe
movzx ecx, word [eax]
test cx, cx
je 0x402bfc
cmp cx, 0x7d
je 0x402bfc
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x402be8
mov edi, esi
movzx ecx, word [esi]
test cx, cx
je 0x402d78
cmp ecx, 0x28
jne 0x402c10
inc edx
cmp ecx, 0x29
mov dword [ebp - 8], ebx
lea eax, [edx - 1]
cmovne eax, edx
mov edx, eax
test edx, edx
jg 0x402bd0
xor eax, eax
mov word [esi], ax
lea esi, [edi + 2]
mov eax, dword [0x43c4c0]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], esi
test eax, 0x20000000
je 0x402c4e
or eax, 0x2000000
mov dword [ebp - 8], ebx
mov dword [0x43c4c0], eax
jmp 0x4027f0
test byte [edi + 0xf], 8
je 0x402c66
or eax, 0x2000000
mov dword [ebp - 8], ebx
mov dword [0x43c4c0], eax
jmp 0x4027f0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x402cb0
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x402c7e
call fcn.004142e0
mov dword [edi + 0x24], eax
jmp 0x402cb0
push ecx
push eax
push 0
call fcn.00414380
mov edi, eax
add esp, 0xc
test edi, edi
je 0x403199
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x402caa
push ecx
call fcn.0041d6c3
mov eax, dword [ebp - 4]
add esp, 4
mov dword [eax + 0x24], edi
mov edi, dword [ebp - 4]
mov edx, dword [edi + 0x24]
test edx, edx
jne 0x402cd8
mov ecx, 0x43631c
call fcn.004142e0
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], edi
test edi, edi
jne 0x402d2b
mov edi, dword [ebp - 4]
mov dword [ebp - 8], ebx
jmp 0x4027f0
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402ce0
sub ecx, edi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x403199
push 0x43631c
push edx
push 0
call fcn.00414380
mov edi, eax
add esp, 0xc
test edi, edi
je 0x403179
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x402d25
push eax
call fcn.0041d6c3
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], edi
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x402d30
sub edi, ecx
sar edi, 1
cmp edi, 0xffffffff
je 0x403179
mov edi, dword [ebp - 4]
mov dword [ebp - 8], ebx
jmp 0x4027f0
test cx, cx
je 0x402df6
nop dword [eax]
cmp cx, 0x3e
je 0x402df6
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x402d60
mov edi, dword [ebp - 8]
mov ecx, dword [0x43c4d4]
pop esi
test ecx, ecx
je 0x402d93
mov eax, dword [0x43c4d8]
mov eax, dword [eax + ecx*4 - 4]
or byte [eax + 0xf], 2
test edi, edi
je 0x402de5
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x402dae
push eax
call fcn.0041d6c3
add esp, 4
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x28]
test eax, eax
je 0x402dc5
push eax
call fcn.0041d6c3
add esp, 4
mov dword [edi + 0x28], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x402ddc
push eax
call fcn.0041d6c3
add esp, 4
mov dword [edi + 0x24], 0
push edi
call fcn.0041d6c3
add esp, 4
push dword [ebp - 0x20]
call fcn.0041d6c3
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esi], 0
je 0x402d78
add esi, 2
mov dword [ebp - 0xc], esi
jmp 0x4027f0
cmp ecx, 0x61
jb 0x402e30
cmp ecx, 0x68
ja 0x402e30
movzx eax, word [esi + 2]
cmp eax, 0x78
je 0x402fc7
cmp eax, 0x31
jb 0x402e30
cmp eax, 0x38
jbe 0x402fc7
mov al, byte [esi]
cmp al, 0x41
jl 0x402e3e
cmp al, 0x5a
jle 0x402af4
cmp al, 0x61
jl 0x402e4a
cmp al, 0x7a
jle 0x402af4
cmp al, 0x30
jl 0x402e56
cmp al, 0x39
jle 0x402af4
cmp al, 0x3d
je 0x402af4
cmp al, 0x2b
je 0x402af4
cmp al, 0x23
je 0x402af4
cmp al, 0x3a
je 0x402af4
cmp al, 0x2d
je 0x402af4
cmp al, 0x5f
je 0x402af4
add esi, 2
mov dword [ebp - 0xc], esi
jmp 0x4027f0
mov ecx, 3
jmp 0x402e9d
mov ecx, 5
mov edi, dword [ebp - 0x10]
cmp cx, 5
sete al
dec al
and al, 7
mov byte [edi + 1], 4
cmp cx, 5
mov byte [edi + 5], al
setne al
lea eax, [eax*4 + 2]
mov byte [edi + 3], al
movzx eax, cx
mov ecx, edi
lea edx, [esi + eax*2]
call fcn.00403340
mov bl, byte [0x43c5ac]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp bl, 1
jne 0x402ee8
mov al, 7
mov cl, 2
mov dl, 6
jmp 0x402eee
xor al, al
mov cl, 1
mov dl, 5
mov byte [edi + 7], dl
mov byte [edi + 6], cl
mov byte [edi + 4], al
movzx edx, al
mov byte [edi + 2], al
mov byte [edi], al
movsx eax, byte [edi + 6]
movzx ecx, byte [edx*8 + 0x43c444]
cmp ecx, eax
jne 0x402f21
movsx eax, byte [edi + 3]
cmp byte [eax + edx*8 + 0x43c440], 0
je 0x402ff7
or dword [0x43c4c0], 0x800000
jmp 0x402d78
mov bl, byte [0x43c5ac]
xor eax, eax
cmp bl, 1
sete al
inc eax
add esi, 2
mov dword [ebp - 0xc], esi
jmp 0x402fd8
mov bl, byte [0x43c5ac]
xor eax, eax
cmp bl, 1
sete al
add eax, 3
add esi, 2
mov dword [ebp - 0xc], esi
jmp 0x402fd8
mov bl, byte [0x43c5ac]
xor eax, eax
cmp bl, 1
sete al
add eax, 5
add esi, 2
mov dword [ebp - 0xc], esi
jmp 0x402fd8
mov bl, byte [0x43c5ac]
xor eax, eax
cmp bl, 1
sete al
add eax, 7
add esi, 2
mov dword [ebp - 0xc], esi
jmp 0x402fd8
mov bl, byte [0x43c5ac]
xor eax, eax
cmp bl, 1
sete al
add eax, 9
add esi, 2
mov dword [ebp - 0xc], esi
jmp 0x402fd8
mov bl, byte [0x43c5ac]
xor eax, eax
cmp bl, 1
sete al
add eax, 0xb
add esi, 2
mov dword [ebp - 0xc], esi
jmp 0x402fd8
mov bl, byte [0x43c5ac]
xor eax, eax
cmp bl, 1
sete al
add eax, 0xb
movzx eax, ax
mov edi, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
push eax
mov ecx, edi
call fcn.00403400
add esp, 4
test eax, eax
je 0x402d78
mov esi, dword [ebp - 0xc]
and byte [edi + 0xf], 0xf7
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x403007
cmp bl, 1
je 0x40300c
cmp dword [ebp - 0x14], eax
je 0x403016
or dword [0x43c4c0], 0x100000
mov ecx, edi
call fcn.0040bb90
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov al, byte [edi + 9]
cmp bl, 1
jne 0x4030be
mov byte [edi + 0xf], 0x10
mov byte [0x43c5ac], 0
cmp al, 0x23
jne 0x403058
mov eax, dword [0x43c128]
test eax, eax
je 0x403058
mov ecx, dword [edi + 0x2c]
test ecx, ecx
jne 0x403094
mov ecx, eax
call fcn.004142e0
mov dword [edi + 0x2c], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x43c4d4]
dec eax
test byte [ebx + 0xf], 8
mov dword [ebx + 0x18], eax
je 0x403125
cmp dword [ebx + 0x28], 0
jne 0x403125
cmp dword [ebx + 0x2c], 0
jne 0x403125
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
jmp 0x402730
push eax
push ecx
push 0
call fcn.00414380
mov ebx, dword [ebp - 0x10]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40305b
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x4030b9
push ecx
call fcn.0041d6c3
add esp, 4
mov dword [ebx + 0x2c], edi
jmp 0x40305b
cmp al, 0x23
jne 0x4030dc
mov eax, dword [0x43c124]
test eax, eax
je 0x4030dc
mov ecx, dword [edi + 0x2c]
test ecx, ecx
jne 0x4030ee
mov ecx, eax
call fcn.004142e0
mov dword [edi + 0x2c], eax
mov ebx, dword [ebp - 0x10]
inc dword [ebp - 0x14]
mov byte [0x43c5ac], 1
jmp 0x40305b
push eax
push ecx
push 0
call fcn.00414380
mov ebx, dword [ebp - 0x10]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4030df
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x403113
push ecx
call fcn.0041d6c3
add esp, 4
inc dword [ebp - 0x14]
mov dword [ebx + 0x2c], edi
mov byte [0x43c5ac], 1
jmp 0x40305b
mov edx, dword [0x43c4d4]
mov ecx, 0x43c4d8
push 4
push 0x43c4d4
call fcn.004157a0
test eax, eax
je 0x402d78
mov ecx, dword [0x43c4d8]
xor edi, edi
mov eax, dword [0x43c4d4]
mov dword [ecx + eax*4 - 4], ebx
mov ecx, dword [0x43c4d8]
mov eax, dword [0x43c4d4]
and dword [0x43c4c0], 0xdfffffff
mov ebx, dword [ebp - 0x18]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp - 4], eax
jmp 0x402730
mov esi, dword [ebp - 4]
mov edi, ebx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x402d7b
push eax
call fcn.0041d6c3
add esp, 4
mov dword [esi + 0x24], 0
mov edi, ebx
jmp 0x402d7b
mov edi, dword [ebp - 0x10]
mov eax, dword [0x43c4d4]
dec eax
test byte [edi + 0xf], 8
mov dword [edi + 0x18], eax
je 0x4031c8
cmp dword [edi + 0x28], 0
jne 0x4031c8
cmp dword [edi + 0x2c], 0
jne 0x4031c8
mov eax, dword [0x43c4c0]
mov edi, dword [ebp - 8]
jmp 0x403207
mov edx, dword [0x43c4d4]
mov ecx, 0x43c4d8
push 4
push 0x43c4d4
call fcn.004157a0
test eax, eax
je 0x402d78
mov eax, dword [0x43c4d4]
mov ecx, dword [0x43c4d8]
mov dword [ecx + eax*4 - 4], edi
xor edi, edi
mov eax, dword [0x43c4c0]
and eax, 0xdfffffff
mov dword [0x43c4c0], eax
test eax, 0x20000000
jne 0x402d7b
or eax, 0x40000000
mov dword [0x43c4c0], eax
jmp 0x402d7b
movzx eax, word [0x43ad06]
sub eax, 7
je 0x403245
sub eax, 2
je 0x403237
sub eax, 1
je 0x40323e
mov eax, dword [str.The_system_cannot_allocate_enough_memory]
jmp 0x40324a
mov eax, dword [str.El_sistema_no_puede_asignar_suficiente_memoria]
jmp 0x40324a
mov eax, dword [str.Der_Speicher_reicht_nicht]
push eax
push 0xa8010f00
call fcn.00413190
add esp, 8
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 8], ebx
jmp 0x402d78
push 0xa001001f
call fcn.00413190
add esp, 4
jmp 0x402d7b