Function at 0x419f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
push esi
push edi
push ebp
mov edi, dword [esp + 0x6c]
push edi
call fcn.004193e0
mov ecx, dword [esp + 0x74]
add esp, 4
cmp ecx, 0x10
mov ebp, eax
mov edx, ecx
ja 0x419f78
je 0x41a16d
cmp edx, 1
je 0x419fd4
cmp edx, 3
je 0x41a082
cmp edx, 5
je 0x41a0ee
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
cmp edx, 0x2b
ja 0x419f96
je 0x41a1e6
cmp edx, 0x24
je 0x41a18d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
cmp edx, 0x82
ja 0x419fb7
je 0x41a26e
cmp edx, 0x2c
je 0x41a20a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
sub edx, 0x110
cmp edx, 0xf2
ja case.0x419fcd.275
xor eax, eax
mov al, byte [edx + 0x41a810]
jmp dword [eax*4 + 0x41a800]
mov ax, word [0x506ea8]
xor esi, esi
mov word [esp + 0x40], ax
lea eax, [esp + 0x40]
mov dword [esp + 0x42], edi
push eax
mov dword [esp + 0x4a], esi
push 0x36
call fcn.00418bd0
add esp, 8
test eax, eax
je 0x41a01d
cmp dword [esp + 0x5e], esi
jne 0x41a019
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop ebp
pop edi
pop esi
mov dword [ecx], 0xffffffff
pop ebx
add esp, 0x58
ret
mov esi, dword [esp + 0x5e]
lea eax, [esp + 0x40]
push eax
push 0x30
call fcn.00418bd0
add esp, 8
mov ebx, eax
push 0x42
lea eax, [ebx + 0x22]
push eax
call fcn.00484100
add esp, 8
mov ebp, eax
test ebp, ebp
jne 0x41a059
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop ebp
pop edi
pop esi
mov dword [ecx], 0xffffffff
pop ebx
add esp, 0x58
ret
push ebp
call dword [case.0x4e0926.42]
mov cx, word [0x506ea8]
push eax
mov word [eax + 8], cx
push 0x1e
push edi
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 0x1e], esi
call dword [0x50fcb0]
jmp 0x41a7e8
push edi
call fcn.004da960
mov word [esp + 0x18], ax
add esp, 4
test ax, ax
je 0x41a7e8
cmp dword [ebp + 0x1a], 0
jne 0x41a7e8
lea eax, [esp + 0x40]
push eax
push edi
call fcn.0041abf0
mov dword [ebp + 0x1a], 1
mov dword [esp + 0x1e], edi
add esp, 8
mov eax, dword [ebp + 0xa]
mov dword [esp + 0x1a], eax
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1e], edx
push eax
mov dword [esp + 0x26], ecx
push 0x19
call fcn.00418bd0
mov dword [ebp + 0x1a], 0
add esp, 8
jmp 0x41a7e8
push edi
call fcn.004da960
mov word [esp + 0x18], ax
add esp, 4
test ax, ax
je 0x41a7e8
movsx eax, word [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
shr eax, 0x10
cmp dword [ebp + 0x1a], 0
movsx ecx, ax
jne 0x41a7e8
mov dword [ebp + 0x1a], 1
mov dword [esp + 0x16], edi
mov eax, dword [ebp + 0xa]
mov dword [esp + 0x1a], eax
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
sub eax, 2
mov dword [esp + 0x1e], edx
cmp eax, 1
sbb eax, eax
mov dword [esp + 0x22], ecx
neg eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x36], eax
push ecx
push 0x17
call fcn.00418bd0
mov dword [ebp + 0x1a], 0
add esp, 8
jmp 0x41a7e8
mov dword [esp + 0x16], edi
mov eax, dword [ebp + 0xa]
mov dword [esp + 0x1a], eax
mov cx, word [ebp + 8]
mov word [esp + 0x14], cx
lea ecx, [esp + 0x14]
push ecx
push 0x20
jmp 0x41a7e0
push edi
call fcn.004da960
mov word [esp + 0x18], ax
add esp, 4
test ax, ax
je 0x41a7e8
cmp dword [ebp + 0x1a], 0
jne 0x41a7e8
mov esi, dword [esp + 0x78]
lea edx, [esp + 0x14]
mov dword [esp + 0x16], edi
push edx
mov eax, dword [ebp + 0xa]
lea ecx, [esi + 8]
push 0x1e
add esi, 0x18
mov dword [esp + 0x22], eax
mov dword [esp + 0x3a], ecx
call fcn.00418bd0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3a], esi
add esp, 8
push ecx
push 0x18
jmp 0x41a7e0
mov eax, dword [esp + 0x78]
push eax
push edi
call fcn.00419c40
mov ecx, dword [esp + 0x84]
add esp, 8
pop ebp
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x58
ret
mov esi, dword [esp + 0x78]
mov eax, dword [esi]
cmp eax, 2
je 0x41a21e
cmp eax, 3
jne 0x41a7e8
mov edx, dword [esp + 0x74]
mov dword [esp + 0x16], edi
mov ax, word [ebp + 8]
mov word [esp + 0x14], ax
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 0xa]
push eax
mov dword [esp + 0x1e], ecx
push 0xa
mov dword [esp + 0x36], 8
mov dword [esp + 0x2e], edx
call fcn.00418bd0
mov ecx, dword [esp + 0x84]
add esp, 8
mov dword [esi + 0x10], eax
mov eax, 1
pop ebp
mov dword [ecx], 1
pop edi
pop esi
pop ebx
add esp, 0x58
ret
test ebp, ebp
je 0x41a299
mov eax, dword [ebp + 0x1e]
test eax, eax
je 0x41a282
push eax
call fcn.004845c0
add esp, 4
mov eax, dword [ebp]
push eax
call fcn.00484210
add esp, 4
push 0
push 0x1e
push edi
call dword [0x50fcb0]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
push edi
call fcn.00419e90
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov word [esp + 0x12], ax
mov dword [esp + 0x16], edi
shr eax, 0x10
mov cx, word [ebp + 8]
movzx ebx, ax
mov word [esp + 0x14], cx
mov eax, dword [ebp + 0xa]
mov dword [esp + 0x1a], eax
mov eax, dword [esp + 0x12]
and eax, 0xffff
cmp ebx, 0x100
mov dword [esp + 0x3c], eax
mov dword [esp + 0x26], eax
je 0x41a300
cmp ebx, 4
je 0x41a300
cmp ebx, 3
jne 0x41a303
mov dword [ebp + 0x16], esi
test esi, esi
je 0x41a71c
lea eax, [esp + 0x40]
push 0x14
push eax
mov ebp, dword [0x50fd50]
push esi
call ebp
test eax, eax
je 0x41a71c
lea eax, [esp + 0x40]
push str.button
push eax
mov edi, dword [0x50fad0]
call edi
test eax, eax
jne 0x41a389
cmp dword [esp + 0x26], 0x63
jne 0x41a348
mov dword [esp + 0x26], 1
test ebx, ebx
jne 0x41a7e8
mov dword [esp + 0x2e], 2
push 0xfffffffffffffff0
push esi
call dword [0x50fcb8]
test al, al
je 0x41a36d
cmp al, 1
jne 0x41a761
lea eax, [esp + 0x14]
push eax
push 0x1b
call fcn.00418bd0
add esp, 8
test eax, eax
jne 0x41a761
jmp 0x41a7e8
lea eax, [esp + 0x40]
push str.edit
push eax
call edi
test eax, eax
je 0x41a6bc
lea eax, [esp + 0x40]
push str.calcedit
push eax
call edi
test eax, eax
je 0x41a6bc
lea eax, [esp + 0x40]
push str.sedit
push eax
call edi
test eax, eax
je 0x41a6bc
lea eax, [esp + 0x40]
push str.combobox
push eax
call edi
test eax, eax
jne 0x41a3fd
cmp ebx, 1
jne 0x41a3e7
mov dword [esp + 0x2e], 4
jmp 0x41a761
cmp ebx, 2
jne 0x41a7e8
mov dword [esp + 0x2e], 3
jmp 0x41a761
lea eax, [esp + 0x40]
push str.listbox
push eax
call edi
test eax, eax
je 0x41a670
lea eax, [esp + 0x40]
push str.buttonlistbox
push eax
call edi
test eax, eax
je 0x41a670
lea eax, [esp + 0x40]
push 0x501db4
push eax
call edi
test eax, eax
je 0x41a636
lea eax, [esp + 0x40]
push str.o_cusbit
push eax
call edi
test eax, eax
je 0x41a636
lea eax, [esp + 0x40]
push 0x501dc8
push eax
call edi
test eax, eax
jne 0x41a4b4
push esi
call dword [0x50fce0]
mov dword [esp + 0x26], eax
cmp ebx, 1
jne 0x41a47a
mov dword [esp + 0x2e], 2
jmp 0x41a761
cmp ebx, 2
jne 0x41a48c
mov dword [esp + 0x2e], 0xb
jmp 0x41a761
cmp ebx, 3
jne 0x41a49e
mov dword [esp + 0x2e], 0xc
jmp 0x41a761
cmp ebx, 4
jne 0x41a7e8
mov dword [esp + 0x2e], 0xa
jmp 0x41a761
lea eax, [esp + 0x40]
push str.BmpButt
push eax
call edi
test eax, eax
jne 0x41a4e4
push esi
call dword [0x50fce0]
mov dword [esp + 0x26], eax
test ebx, ebx
jne 0x41a7e8
mov dword [esp + 0x2e], 2
jmp 0x41a761
lea eax, [esp + 0x40]
push str.custtab
push eax
call edi
test eax, eax
jne 0x41a569
cmp ebx, 1
jne 0x41a7e8
push 0
push 0
push 0x408
push esi
call dword [0x50fcd8]
cmp eax, dword [esp + 0x3c]
mov edi, eax
je 0x41a7e8
push esi
call dword [0x50fce0]
mov dword [esp + 0x26], eax
test edi, edi
mov dword [esp + 0x2e], 2
je 0x41a547
lea eax, [esp + 0x14]
push eax
push 0x1b
call fcn.00418bd0
add esp, 8
test eax, eax
je 0x41a7e8
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
and ecx, 0xffff
push edx
movzx eax, di
shl eax, 0x10
push 0x3a
or eax, ecx
mov dword [esp + 0x3e], eax
jmp 0x41a7e0
lea eax, [esp + 0x40]
push str.cussel
push eax
call edi
test eax, eax
jne 0x41a761
push 0
cmp ebx, 0x405
jne 0x41a5ad
push 4
push esi
call dword [0x50fcdc]
movzx eax, ax
push eax
call fcn.0047bdc0
mov dword [esp + 0x36], 0xd
mov dword [esp + 0x3e], eax
add esp, 8
jmp 0x41a761
push esi
mov edi, dword [0x50fcdc]
call edi
movzx eax, ax
mov dword [esp + 0x1e], eax
push 2
push esi
call edi
movzx eax, ax
mov dword [esp + 0x22], eax
cmp ebx, 0x401
jne 0x41a5de
mov dword [esp + 0x2e], 0xb
jmp 0x41a761
cmp ebx, 0x402
jne 0x41a5f3
mov dword [esp + 0x2e], 0xa
jmp 0x41a761
cmp ebx, 0x403
jne 0x41a608
mov dword [esp + 0x2e], 0xc
jmp 0x41a761
cmp ebx, 0x407
jne 0x41a61d
mov dword [esp + 0x2e], 5
jmp 0x41a761
cmp ebx, 0x408
jne 0x41a7e8
mov dword [esp + 0x2e], 6
jmp 0x41a761
cmp ebx, 1
jne 0x41a648
mov dword [esp + 0x2e], 4
jmp 0x41a761
cmp ebx, 3
jne 0x41a65a
mov dword [esp + 0x2e], 3
jmp 0x41a761
cmp ebx, 2
jne 0x41a7e8
mov dword [esp + 0x2e], 2
jmp 0x41a761
cmp ebx, 1
jne 0x41a682
mov dword [esp + 0x2e], 4
jmp 0x41a761
cmp ebx, 2
jne 0x41a694
mov dword [esp + 0x2e], 3
jmp 0x41a761
cmp ebx, 4
jne 0x41a6a6
mov dword [esp + 0x2e], 5
jmp 0x41a761
cmp ebx, 5
jne 0x41a7e8
mov dword [esp + 0x2e], 6
jmp 0x41a761
cmp ebx, 0x300
jne 0x41a6d1
mov dword [esp + 0x2e], 4
jmp 0x41a761
cmp ebx, 0x100
jne 0x41a6e3
mov dword [esp + 0x2e], 5
jmp 0x41a761
cmp ebx, 0x200
jne 0x41a6f5
mov dword [esp + 0x2e], 6
jmp 0x41a761
cmp ebx, 0x61
jne 0x41a7e8
lea eax, [esp + 0x40]
push str.sedit
push eax
call edi
test eax, eax
jne 0x41a7e8
mov dword [esp + 0x2e], 2
jmp 0x41a761
cmp word [esp + 0x12], 1
jne 0x41a761
test esi, esi
jne 0x41a761
test ebx, ebx
jne 0x41a761
push edi
call fcn.00419860
add esp, 4
test eax, eax
je 0x41a742
cmp eax, 1
je 0x41a742
mov dword [esp + 0x26], eax
mov dword [esp + 0x2e], 2
lea eax, [esp + 0x14]
push eax
push 0x1b
call fcn.00418bd0
add esp, 8
test eax, eax
je 0x41a7e8
lea eax, [esp + 0x14]
push eax
push 0xa
jmp 0x41a7e0
movsx eax, word [esp + 0x78]
mov dword [esp + 0x40], eax
mov dword [esp + 0x16], edi
mov eax, dword [esp + 0x78]
mov ebx, dword [ebp + 0xa]
shr eax, 0x10
mov dword [esp + 0x1a], ebx
movsx edx, ax
mov ax, word [ebp + 8]
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x40]
and eax, 0x13
mov dword [esp + 0x1e], ebp
mov dword [esp + 0x36], eax
mov eax, 0x41
mov dword [esp + 0x22], edx
cmp ecx, 0x200
je 0x41a7c7
cmp ecx, 0x201
je 0x41a7ce
cmp ecx, 0x202
je 0x41a7d5
jmp 0x41a7da
mov eax, 0x41
jmp 0x41a7da
mov eax, 0x45
jmp 0x41a7da
mov eax, 0x46
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00418bd0
add esp, 8
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop ebp
pop edi
pop esi
mov dword [ecx], 0
pop ebx
add esp, 0x58
ret